I have a grid that grows when a user adds checks different check boxes.

I want to for speed purposes hide the row if they deselect the grid.

The problem I am having is that if I hide the row with the addRowCls('hidden') when new data is added the index of the rows change then showing some of the rows that are supposed to be hidden.

How can I accomplish this task.

I have also tried filtering the store but that did not seem to work.