hi everybody! is there a suggested way for filtering the data-model of a sortable table (+ ppr)? (especially for triggering the re-indexing of the internal structures)
filtering a table works very well. e.g. the following scenario: there is a table and a checkbox on the same page. the checkbox triggers (with the use of ppr) a filtering process. this scenario works very well - the collection which is associated with a table is filtered and redisplayed correctly. however, after adding support for sortable columns the following problem occurs: sorting works well - and the internal _baseIndicesList and _sortedIndicesList are correct (without the filtering functionality). (to summarize: if i don't combine them, filtering and sorting work correctly) combining these two features causes a wrong result. (sorting -> result is ok -> filtering -> result is wrong) after a quick debugging session i saw, that the referenced model of the table is ok. however, the internal _baseIndicesList and _sortedIndicesList aren't recalculated (they are out of sync compared to the referenced model). so the calculation of rangeEnd results in a wrong result (e.g. 0 -> an empty table is displayed - even though the model contains several entries) is there a way to solve this problem without changing trinidad? if no: i've several ideas to solve this problem (one of them is already tested!) - but i think this would be a topic for the dev-list. regards, gerhard

