{ "id": "63600", "key": "TIMOB-2968", "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": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" }, { "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:42:54.000+0000", "created": "2011-04-15T03:33:54.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "rightimage", "row", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-27T15:42:54.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}

I use rightImage at only for a part of TableViewRow.
\r\nTableViewRow.rightImage is attached to wrong row..

\r\n

I coded following lines.

\r\n
\r\n//example.js\r\n\r\nvar win = Ti.UI.currentWindow;\r\nvar tableView = Ti.UI.createTableView();\r\n\r\nfor(var i=0;i<20;i++) {\r\n    var row = Ti.UI.createTableViewRow({\r\n        isChecked: false\r\n    });\r\n    row.add(Ti.UI.createLabel({\r\n        text: 'line' + (i + 1),\r\n        left: 10\r\n    }));\r\n    tableView.appendRow(row);\r\n}\r\n\r\ntableView.addEventListener('click', function(e) {\r\n    setTimeout(function() {\r\n        if(e.row.isChecked) {\r\n            e.row.rightImage = '';\r\n            e.row.isChecked = false;\r\n        }else{\r\n            e.row.rightImage = 'images/check.png';\r\n            e.row.isChecked = true;\r\n        }\r\n        // this is hack for not update rightImage\r\n        e.row.title = e.row.title;\r\n    }, 300);\r\n});\r\n\r\nwin.add(tableView);\r\n
\r\n
    \r\n
  1. Show this window.
  2. \r\n
  3. Click a row.(The rightImage attaches correct row.)
  4. \r\n
  5. Scroll down.
  6. \r\n
  7. Scroll up(and down, up, down, up..)
  8. \r\n
  9. The rightImage attaches to the line not clicked.
  10. \r\n
\r\n

The rightImage has some other strange things..

{html}", "attachment": [], "flagged": false, "summary": "iOS: TableViewRow.rightImage is attached to wrong row", "creator": { "name": "yu-ji", "key": "yu-ji", "displayName": "yu-ji", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yu-ji", "key": "yu-ji", "displayName": "yu-ji", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "160665", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h3.Associated Helpdesk Ticket:\r\nappc.me/c/APP-647841", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-26T16:33:07.000+0000", "updated": "2011-07-26T16:33:07.000+0000" }, { "id": "160776", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will not be solved by any layout fixes. Table rows are \"special\".", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-27T12:05:10.000+0000", "updated": "2011-07-27T12:05:10.000+0000" }, { "id": "164346", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested On:\n\nMac OSX Lion\nTiMob: 1.8.0.v20110819142548\nTiStud: 1.0.4.201108101535\n\nDevices:\n\niPhone 4 version 4.2.10\niPad2 version 4.3.5\niPod 3", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T10:46:34.000+0000", "updated": "2011-08-29T10:46:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }