PDA

View Full Version : [4.0.2a] RowModel.selectAll() should fire 'beforeselect' events



doublep
20 Jun 2011, 7:54 AM
I connected a handler to 'beforeselect' in a grid that makes some rows non-selectable by returning 'false'. This works fine, even for range-selection with shift-click, but not when all rows are being selected at once, in which case the handler is simply never used.

'beforeselect' should be usable to veto all-row selection as well. The same probably applies to DataViewModel.