{ "id": "111977", "key": "AC-2119", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-01T18:37:32.000+0000", "created": "2013-03-30T18:09:52.000+0000", "labels": [ "highlighted", "highlightedcolor", "selectrow", "tableview", "tableviewrow" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:41: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When we use *selectRow* method and scroll tableView until hide the selected TableViewRow, if we select another row, the previously selectedRow will keep with labels highlighted.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar rows = [];\r\nfor (var i = 0; i < 100; i++) {\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\theight: 50\r\n\t});\r\n\t\r\n\trow.add( Ti.UI.createLabel({\r\n\t\tcolor: \"#000000\",\r\n\t\ttext: \"Foobar \" + i,\r\n\t\thighlightedColor: \"#FF0000\"\r\n\t}) );\r\n\t\r\n\trows.push(row);\r\n}\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\tdata: rows\r\n});\r\nwin.add(tableView);\r\n\r\ntableView.addEventListener(\"click\", function(e) {\r\n\tthis.selectRow(e.index, { animated: false });\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "36864", "filename": "Screen Shot 2013-03-30 at 3.08.40 PM.png", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-03-30T18:09:52.000+0000", "size": 127059, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: selectRow method keeps highlightedColor of label in some specific cases", "creator": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "iOS 5.0+, SDK 3.0.2.GA, 3.1.0", "comment": { "comments": [ { "id": "244946", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in latest nightly builds. Tested with 3.1.0.v201326095819", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T18:37:32.000+0000", "updated": "2013-04-01T18:38:45.000+0000" }, { "id": "286167", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since the issue can't be reproduce with any version of the TISDK since 3.1.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T18:51:25.000+0000", "updated": "2013-12-29T18:51:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }