Hello,

I have a problem with a GridPanel with RowSelectionModel. I select one (or more) rows, then filter (string filter on any column) so that the selected rows are not displayed, then select one o more rows. At this point, clic a button that call a DirectEvent passing grid.getSelectionModel().getSelections().length and grid.getRowsValues({selectedOnly:true})

The weird behaviuor is that grid.getRowsValues({selectedOnly:true}) contains all the selected rows, even those that are not displayed due to the filter applied, and grid.getSelectionModel().getSelections() contains only the selected rows that are currently displayed, the ones that I need. So I've tried to send grid.getSelectionModel().getSelections() but got "too much recursion" error (I've used Ext.Encode() method to send the parameter).

Then, how can I send only the selected and displayed rows values to codebehind?
Thanks in advance.
Regards