Premium support for our pure JavaScript UI components


Post by H9FFDC »

Hi,

We are using the grid with a row selection model and filter bar feature as follows:

features: {
    filterBar: true
},
selectionMode: {
    row: true,
    checkbox: true
}

When selecting rows, and then applying filters to the grid such that the selected rows are removed from the grid, calling selectedRecords on the grid is still returning the records that are filtered out. For our use case, we don't want to return records that were selected and then subsequently filtered from the grid.

Would you consider this a defect? Or is it intended behaviour and we should implement our own logic to check that any selectedRecords have not been filtered from the grid?

Thanks.


Post by sergey.maltsev »

Hi!

Currently when using selectionMode with checkbox: true grid.selectedRecords remain unchanged on filtering.
This is issue to make it configurable.
https://github.com/bryntum/support/issues/1915


Post Reply