:: Forum >> Version 2 >>

Function to select all checkboxes in the grid

More information on this topic is available in the documentation section: /grid.howto.selections/selecting-rows-with-checkboxes.html.

Hi,

I want to select all rows on the click of a button.
Each row has a checkbox appended before it.
I want an event which selects all the checkboxes in the grid.
Thanks,
Piyusha
Piyusha
Monday, April 16, 2007
Try this...

grid.setSelectedRows(function selectAll() {a=new Array; for(i=0;i<grid._rowCount;i++) a.push(i); return a;})
Gapz
Wednesday, June 13, 2007
what???
relacks
Monday, January 14, 2008



This topic is archived.

Back to /grid.howto.selections/selecting-rows-with-checkboxes.html

Documentation:

Forum search