Hi,
I am using dhtmlx grid, and my requirement is : when i check checkboxes( say 3 checkboxes), i need to get the corresponding rows data to add in the second grid. Is there any method for getting rows? ( i found forEachRow method, but i dont know how can i use). can you give any sample code for getting those records.
Regards,
Veerendrandh.Potru
To get IDs of checked rows you can use
var ids = grid.getCheckedRows(checkbox_column_index); //returns comma separated list
To get cell value
var value = grid.cells(row_id, column_index).getValue()