Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Udhayabalachandar on Apr 15, 2008 23:56
open dhtmlx forum
how to get the count for selected rows

How to get the Selected Rows count in the DHTML Grid...

Suppose I selected the rows in Grid 1,2,3,4

How can I get the total count of the selected Rows...

I want to get the total count is 4...
Please suggest some solution

Thanks and Regards
Udhayabalachandar
Answer posted by Support on Apr 16, 2008 02:19
You can get it as
    var count = grid.getSelectedId().split(",").length;