{ "id": "122052", "key": "TIMOB-15659", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-11-14T16:37:15.000+0000", "created": "2013-11-04T21:55:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "supportTeam" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:05:05.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": "h6.Issue description\r\nTable view last row separator line is missing when footer title is set as empty. When last row gets clicked appears on-screen.\r\n\r\nDevelopers were setting the footer title as empty to the table as a workaround to solve the empty rows getting displayed in a table (this was working fine on iOS6 with earlier Titanium SDKs. But the same is not working on iOS7 with 3.1.3 SDK).\r\n\r\nh6.Runnable sample\r\nRun snippet and select latest row.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title : \"home\",\r\n backgroundColor : \"white\",\r\n top : 20\r\n});\r\n\r\nvar data = [];\r\n\r\nfor (var i = 0; i < 5; i++) {\r\n data[i] = Ti.UI.createTableViewRow({\r\n title : 'row' + i,\r\n height : 50,\r\n left : 50,\r\n color : 'red'\r\n });\r\n}\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor: 'white',\r\n height: 0 //prevent setting the GROUPED style and top: -35\r\n});\r\nvar table = Ti.UI.createTableView({\r\n data : data,\r\n\r\n //Set an empty footerView hides the empty rows and separator last row renders correctly (iOS7).\r\n footerView: view,\r\n\r\n //Group of rows extends the full width of the screen.\r\n //style: Ti.UI.iPhone.TableViewStyle.GROUPED \r\n\r\n //GROUPED style introduces extra space at the top of TableView\r\n //top: -35 //work around for remove it \r\n});\r\n\r\nwin.add(table);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "43669", "filename": "iOS7_TiSDK3.1.3.GA_1.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T21:55:34.000+0000", "size": 63653, "mimeType": "image/jpeg" }, { "id": "43670", "filename": "iOS7_TiSDK3.1.3.GA_2.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T21:55:34.000+0000", "size": 65065, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS7: Table View last row separator line missing when footer title is set as empty", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS7\r\nTiSDK 3.1.3.GA", "comment": { "comments": [ { "id": "278918", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Setting footerView height: 0 hides the empty rows, separator of last row renders correctly (iOS7) and no extra space is added at the top of tableView. ", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T15:37:58.000+0000", "updated": "2013-11-13T16:47:42.000+0000" }, { "id": "414954", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:05:05.000+0000", "updated": "2017-03-22T21:05:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }