[TIMOB-2634] iOS: Tableviews remembering selected rows after setData or Append
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-07-20T15:44:54.000+0000 |
Affected Version/s | Release 1.5.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Kevin McGrath |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:25:26.000+0000 |
Updated | 2017-03-09T22:41:39.000+0000 |
Description
Since 1.5(.1), My tableviews are remembering their selected state after a setData (and sometimes even an append).
Should I create a table with 10 rows and select (via click) row 3, upon replacing that tables Data through setData, row 3 will still be selected. If the user clicks on another row at this point, TWO rows will appear selected. Using setData at this point causes BOTH rows to remember the selected state and allow the user to now select a third.
the app.js used to test this is available here: http://pastie.org/1392705">http://pastie.org/1392705
- Ti SDK 1.5.1
- iOS SDK 4.2.1 -- iPad and iPhone simulators.
- iPad 3.2.2
- iPad 4.2.1
Doing setData now deselects any selected rows. Keeping a selected row on appended data is ok.
Does not reproduce with release 2.1.0.
Closing ticket as the issue cannot be reproduced.