Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ankit on Jun 28, 2009 00:33
open dhtmlx forum
handling #master_checkbox

hi,
I am using a master_checkbox in my grid.

======================
mygrid.setHeader("#master_checkbox",.........)


Suppose I want all the row Ids (for some purpose) after selecting that chkbox. How can i do this?
If it is not possible by Master checkbox , kindly tell me an alternative to do this with checkbox.

Plz mind that I hav 3 header under this grid & each header have its own childrens & a chkbox
to select all the childs under that header.For this i hav already handling an event .
Answer posted by dhxSupport on Jun 29, 2009 00:28
You can get id's of the rows with checked checboxes using method getCheckedRows(col_ind) where col_ind - column index. This method returns comma delimited list of Ids of all rows with checked exCell in specified column.