{ "id": "63442", "key": "TIMOB-2810", "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": "11238", "name": "Release 1.6.0 M05", "archived": true, "released": true, "releaseDate": "2011-01-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:08.000+0000", "created": "2011-04-15T03:30:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "backgroundcolor", "ios", "release-1.6.0", "reported-1.5.1", "rplist", "tableviewrow" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:08.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}
Example code:
\n\nvar win = Ti.UI.createWindow({backgroundColor:\"white\"});\n\n// create table view data object\nvar rows = [\n Ti.UI.createTableViewRow({title:'Row 1'}),\n Ti.UI.createTableViewRow({title:'Row 2'}),\n Ti.UI.createTableViewRow({title:'Row 3'}),\n Ti.UI.createTableViewRow({title:'Row 4'})\n];\n\nvar tableview = Titanium.UI.createTableView({\n data:rows\n});\n\nvar tableRowSelect = function(rows, index, tableView) {\n for (var i=0;i<rows.length;i++) {\n Ti.API.log('Checking row index '+i);\n if(i == index) {\n Ti.API.log('Selected');\n rows[i].backgroundColor = '#fff';\n } else {\n Ti.API.log('Deselected');\n rows[i].backgroundColor = '#d6d6d6';\n }\n }\n};\n\ntableview.addEventListener('click', function(e) {\n tableRowSelect(rows, e.index, tableview);\n});\n\nwin.add(tableview);\nwin.open();
\n
(from [88f08605a940503f889a5287bc0f09af2e5c9a22])\n[#2810 state:fixed-in-qa] Force table row redraw\non BG color change. \nhttps://github.com/appcelerator/titanium_mobile/commit/88f08605a940...
(from [8e8e0481abb36fc73889692da3e815d5d0dd194d])\n[#2810 state:fixed-in-qa] Force table row redraw\non BG color change. \nhttps://github.com/appcelerator/titanium_mobile/commit/8e8e0481abb3...