mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Dataview does not honor items removed from the item array in the itemByIdx array. #1017

Open MikeGuantonio opened 9 years ago

MikeGuantonio commented 9 years ago

The current implementation of the dataview does not update properly when any changes are made to the slickgrid via a filter. The two data structures I am talking about are the "items" and "idxById" variables. The items array will update correctly when a filter is set, but the underlying idbById object is not updated properly. This leads to data inconsistencies and causes getItemById(id) to fail.