[TIMOB-645] can't change index array after table view creation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:53:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:33:35.000+0000 |
Updated | 2011-04-17T01:53:47.000+0000 |
Description
if you change the filter index on the table view after the table view is rendered, the index is not updated.
(from [3c88d62cc9a8f575d2c34e90e61965417de706d3]) -Closes #645: Forces data update after setting index. -Fixes possible bug from section cleanup -table_view_layout_2.js now tests bug #399 http://github.com/appcelerator/titanium_mobile/commit/3c88d62cc9a8f575d2c34e90e61965417de706d3"> http://github.com/appcelerator/titanium_mobile/commit/3c88d62cc9a8f...
MAJOR NOTE:
Right now, this solution is less than ideal, because -[UITableView reloadSectionIndexTitles] doesn't work like it's supposed to. Instead we have to -[UITableView reloadData], which is much slower, but filter index updating should be very rare.