PDA

View Full Version : getSelectionModel().selectAll() does not select all rows in grid



ttbgwt
19 Sep 2012, 6:52 AM
I'm running 4.1.1 and getSelectionModel().selectAll() does not select all rows in grid.

I have a buffered grid with all rows loaded into the grid, purgePageCount = 0, and it only seems to select the rows that are only being viewed, and not the ones out of scrolling area (which have been loaded).

I also tried getSelectionModel().selectRange(0, 197, true) but it didn't work either.

This used to work in 3.4 for me.

mitchellsimoens
24 Sep 2012, 6:58 AM
There wasn't an out-of-the-box buffered grid in 3.x. THe selection model is detached from whether the grid is a buffered, infinite, or a regular grid. It will just select the rows that are currently in the store's active dataset.