Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-645] can't change index array after table view creation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:47.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.2.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:33:35.000+0000
Updated2011-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.

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Stephen Tramer 2011-04-15

    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.

JSON Source