{ "id": "89743", "key": "TIMOB-8935", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-06-04T21:26:00.000+0000", "created": "2012-04-10T05:49:40.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T20:46:24.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": "If you create a table with the attribute selectionStyle:Ti.UI.iPhone.TableViewCellSelectionStyle.NONE, I found an issue that we've been able to fix in such an ugly way that I decided to post the issue here.\r\n\r\n{code}\r\nvar table = Ti.UI.createTableView({ separatorStyle:Ti.UI.iPhone.TableViewSeparatorStyle.NONE,selectionStyle:Titanium.UI.iPhone.TableViewCellSelectionStyle.NONE, backgroundImage:...,backgroundColor:'transparent'});\r\n\r\nr = array();\r\n\r\nr.push( Ti.UI.createTableViewRow(backgroundImage:'...',...) );\r\n\r\ntable.setData(r);\r\n\r\nrandomButton.addEventListener('click',function(e){\r\n e.row.backgroundImage = 'otherRandomImage.png';\r\n\r\n // This DOESN'T work so here's the fix we found:\r\n // e.row.hide();\r\n // e.row.show();\r\n});\r\n\r\n{code}\r\n\r\nIf you change the selectionStyle for the default one, it works better but it's still weird the way it changes the picture.\r\n\r\nHope this helps :)", "attachment": [], "flagged": false, "summary": "iOS: TableViewRow not changing background image/color", "creator": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 1.8.2\r\niOS SDK:iOS 5.0", "comment": { "comments": [ { "id": "197198", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The code provided can not run.\r\nThe bug description is less than helpful.\r\nAssigning to Shak since this originated from his team", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-04T21:26:00.000+0000", "updated": "2012-06-04T21:26:00.000+0000" }, { "id": "199083", "author": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Dude... seriously ?\r\n\r\n2.0.2GA and it still doesn't work, I could reproduce it in 3:20 mins (assuming the IDE is already open).\r\n\r\nNow it's even worst because we can't just refresh the row rendering by doing e.row.hide() and e.row.show() so it just doesn't work...", "updateAuthor": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-19T06:39:24.000+0000", "updated": "2012-06-19T06:39:24.000+0000" }, { "id": "259499", "author": { "name": "tgo", "key": "tgo", "displayName": "Thierry Godfroid", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seriously, indeed...\r\n\r\nEntirely reproducible under 3.0.2GA.\r\nJust spent 2h going crazy trying to fix this one. Workaround shown by Pablo works a treat.\r\n\r\nTitanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.0.2.GA\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.8.4\r\n\r\nnode.js\r\n node.js Version = v0.8.22\r\n npm Version = 1.2.14\r\n\r\nXcode\r\n4.6.3 (build 4H1503)\r\n iOS SDKs = 6.1\r\n iOS Simulators = 6.1\r\n\r\n", "updateAuthor": { "name": "tgo", "key": "tgo", "displayName": "Thierry Godfroid", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-26T12:56:30.000+0000", "updated": "2013-06-26T12:56:30.000+0000" }, { "id": "272098", "author": { "name": "mindwarp", "key": "mindwarp", "displayName": "Mindwarp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still not fixed in 3.1.1.GA.\r\n\r\nIs anybody actually following this thread or does it need a new ticket?", "updateAuthor": { "name": "mindwarp", "key": "mindwarp", "displayName": "Mindwarp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-20T10:15:49.000+0000", "updated": "2013-09-20T10:15:49.000+0000" }, { "id": "412945", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the information that was requested was never provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:46:24.000+0000", "updated": "2017-03-16T20:46:24.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }