Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Velmurugan on Jun 03, 2009 22:01
open dhtmlx forum
How to get checked rows id in a subgrid?

Hi,
I am using grid with subgrid. In subgrid, i am using master_checkbox to manage check/uncheck functionality of the that column. Now i By clicking the master check box, it check/uncheck the entire column. Now i want get all the checked rows in an subgrid. How do i get checked row id from the subgrid?
Please help me.

Thanks,
Vel
Answer posted by dhxSupport on Jun 04, 2009 01:49

You can get sub grid object using:

var sub=mygrid.cellById(rowId,cellInd).getSubGrid();

And then get checked rows:
var selected=sub.getCheckedRows(col_ind)