{ "id": "168427", "key": "TIMOB-24832", "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": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-08T23:39:56.000+0000", "created": "2017-06-15T16:31:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-16T02:30:36.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nUsing the code below, when adding a footerView or headerView to a TableView after the rows data has been set they will not show\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\nvar v = Ti.UI.createView({\r\n width: Ti.UI.FILL,\r\n height: 50,\r\n backgroundColor: 'red'\r\n});\r\nvar t = Ti.UI.createTableView({\r\n footerView: v\r\n});\r\nt.setData([{title: 'Row 1'}]);\r\nt.setHeaderView(Ti.UI.createView({\r\n width: Ti.UI.FILL,\r\n height: 50,\r\n backgroundColor: 'red'\r\n}));\r\n_window.add(t);\r\n_window.open();\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above to an existing app.js\r\n# Build for a windows target\r\n\r\nh5.Actual\r\n\r\nView is not added\r\n\r\nh5.Expected\r\n\r\nView should be added", "attachment": [], "flagged": false, "summary": "Windows: Unable to set a footerView or headerView on a TableView after data has been set", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.1.1.v20170614134051\r\nAppc Core: 6.2.2\r\nAppc NPM: 4.2.9\r\nLumia 550 10.0\r\n10.0 ws-local", "closedSprints": [ { "id": 963, "state": "closed", "name": "2017 Sprint 22 SDK", "startDate": "2017-10-22T21:43:59.523Z", "endDate": "2017-11-05T22:43:00.000Z", "completeDate": "2017-11-06T16:33:42.425Z", "originBoardId": 114 }, { "id": 968, "state": "closed", "name": "2017 Sprint 23 SDK", "startDate": "2017-11-05T16:37:25.071Z", "endDate": "2017-11-19T16:37:00.000Z", "completeDate": "2017-11-20T18:57:56.565Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "422053", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Probably a dupe of TIMOB-24116, my bad", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-06-15T16:35:11.000+0000", "updated": "2017-06-15T16:35:11.000+0000" }, { "id": "429430", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1148", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-10-23T13:10:12.000+0000", "updated": "2017-10-23T13:10:12.000+0000" }, { "id": "430787", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Changes are seen in 7.0.0.v20171115153702.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-16T02:30:36.000+0000", "updated": "2017-11-16T02:30:36.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }