Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Oct 24, 2008 06:22
open dhtmlx forum
Grid Rows

Hi Team,

How to select all rows from grid.Currently mygrid.selectAll(); selects rows from on that page only.I want to select rows from other pages also.

Can you help please?

Thanks

-Agile
Answer posted by Support on Oct 24, 2008 07:14
In order to select all rows its better to use the following approach:

for(var i = 0; i < grid.getRowsNum(); i++){
           
    grid.selectRow(i,false,true);
           
}
Also we have found a small issue in dhtmlxgrid.js. We have sent you the fixed file by email. Please, try to use this file and provided approach.