{ "id": "77154", "key": "TIMOB-4531", "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": "11360", "description": "Mobile 1.8.0 M07", "name": "Sprint 2011-28", "archived": true, "released": true, "releaseDate": "2011-07-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T15:53:01.000+0000", "created": "2011-06-30T10:42:40.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-27T15:53:01.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": "'rightImage' for a row cannot be set in a tableview if the row objects are loaded through custom javascript objects. But it works with createTableviewrow().\r\n\r\nStep1: Run the code below.\r\nStep2: You will notice that rightimage for the tableview is not set.\r\nStep3: The work around is to set the rightImage using createTableviewrow API.\r\n{code:title=\"app.js\"}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar localData =[{title: 'An Entry',rightImage :'indicator.png'},\r\n {title: 'An Entry',rightImage :'indicator.png'}\r\n];\r\n\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\t\tdata:localData,\r\n\t\tbackgroundColor:'#fff',\r\n\t\trowBackgroundColor:'white'\r\n});\r\n\r\nwin1.add(tableView);\r\nwin1.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Setting 'rightImage' in custom javascript objects for tableview does not work", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 4.3 and Ti SDK 1.7.0", "comment": { "comments": [ { "id": "164032", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110819142548\niPhone 4.3.4\niPad2 4.3.2\nMotorola Xoom 3.2\nNexus One 2.2.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-25T11:29:33.000+0000", "updated": "2011-08-25T11:29:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }