Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by david on Oct 11, 2008 15:37
open dhtmlx forum
get checked rows id value with dhtmlxGrid

Hello,
I would like get all checked row id value in dhtmlxGrid, and i don't find how do it?
Answer posted by Support on Oct 13, 2008 02:01
var list = grid.getCheckedRows(column);

where column - index of ch column

list - comma separated list of IDs
Answer posted by david on Oct 13, 2008 03:56
Thank you for your anwser.
I forget also ask you how to checkall checkbox in datagrid column ?
Answer posted by Support on Oct 13, 2008 05:00
mygrid.forEachRow(function(id){
        mygrid.cells(id,INDEX).setValue(1);
});