{ "id": "63266", "key": "TIMOB-2634", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-20T15:44:54.000+0000", "created": "2011-04-15T03:25:26.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11231", "name": "Release 1.5.1", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "issuelinks": [ { "id": "19067", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:41:39.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}

Since 1.5(.1), My tableviews are remembering their selected\r\nstate after a setData (and sometimes even an append).

\r\n

Should I create a table with 10 rows and select (via click) row\r\n3, upon replacing that tables Data through setData, row 3 will\r\nstill be selected. If the user clicks on another row at this point,\r\nTWO rows will appear selected. Using setData at this point causes\r\nBOTH rows to remember the selected state and allow the user to now\r\nselect a third.

\r\n

the app.js used to test this is available here: http://pastie.org/1392705

\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: Tableviews remembering selected rows after setData or Append", "creator": { "name": "kevinmcgrath", "key": "kevinmcgrath", "displayName": "Kevin McGrath", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kevinmcgrath", "key": "kevinmcgrath", "displayName": "Kevin McGrath", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "208749", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Doing setData now deselects any selected rows. Keeping a selected row on appended data is ok.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-20T15:44:54.000+0000", "updated": "2012-07-20T15:44:54.000+0000" }, { "id": "208797", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does not reproduce with release 2.1.0.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-20T23:55:07.000+0000", "updated": "2012-07-20T23:55:07.000+0000" }, { "id": "410814", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:41:39.000+0000", "updated": "2017-03-09T22:41:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }