{ "id": "63157", "key": "TIMOB-2525", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-20T15:19:44.000+0000", "created": "2011-04-15T03:21:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19065", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:18:41.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Hi,
\nI didn't try on iOS devices but only on the iPad, but I have a\nrendering problem with the following snippet :
There is a similar titled issue \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...\nbut I runned the given snippet and it doesn't seems related to the\nissue I encounter.
\nIs is a bug or a bad usage of the APIs ?
\nNB: the rendering behavior is correct if you comment the line\n\"tableSection.headerView = customHeader;\"
\nfunction createCustomTableSection() {
\nvar tableSection = Titanium.UI.createTableViewSection({\n headerTitle: 'Monday 05 July 2010'\n});\n\nvar customHeader = Titanium.UI.createView({\n height: 45,\n backgroundImage: 'table_section_bg.png'\n});\nvar dateLabel = Titanium.UI.createLabel({\n text:'Monday 05 July 2010',\n color:'#b4d0ee',\n top: 5,\n left: 5\n});\ncustomHeader.add(dateLabel);\ntableSection.headerView = customHeader;\n\ntableSection.add(Titanium.UI.createTableViewRow({title:'Monday 05 July 2010'}));\ntableSection.add(Titanium.UI.createTableViewRow({title:'Tuesday 06 July 2010'}));\ntableSection.add(Titanium.UI.createTableViewRow({title:'Wednesday 07 July 2010'}));\ntableSection.add(Titanium.UI.createTableViewRow({title:'Thursday 08 July 2010'}));\nreturn tableSection;
\n
\n}
\nTitanium.UI.setBackgroundColor('#000');
\nvar win = Titanium.UI.createWindow();
\n// Create header var header = Titanium.UI.createView({
\nbackgroundImage: 'home_header.png',\ntop: 0,\nheight: 43
\n
\n});
\nvar l = Titanium.UI.createLabel({
\ntext: 'Plenary sessions',\ncolor: 'white',\nfont:{fontSize: 18},\nheight: 'auto',\nright: 'auto',\ntop: 5,\nleft: 10,\nwidth: 150
\n
\n});
\nheader.add(l);
\nwin.add(header);
var sections = [];
\nfor (var i = 0; i < 8; i++) {
\nsections[i] = createCustomTableSection();
\n
\n}
\nvar tableView = Titanium.UI.createTableView();
\ntableView.setData(sections);
win.add(tableView);
\nwin.open();