PDA

View Full Version : how can i count the total number of selected records in a grid panel ?



abhisekhdawn
23 Feb 2012, 1:20 AM
how can i count the total number of selected records in a grid panel ? i want to count the total number of records selected by 'select' event of the grid. please help me.

mitchellsimoens
23 Feb 2012, 9:07 AM
Ext JS 3 or 4?

abhisekhdawn
23 Feb 2012, 11:21 PM
ExtJs4

Farish
24 Feb 2012, 1:35 AM
var number_of_selected_records = grid.getSelectionModel().getSelection().length;

mitchellsimoens
24 Feb 2012, 5:11 AM
This was moved to Ext JS 4 Q&A forum for you.