Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ramesh on Apr 04, 2008 22:59
open dhtmlx forum
how to find the type of each cell by running through the entire grid, in JAVASCRIPT

how to find the type of each cell by running through the entire grid, in JAVASCRIPT.

 

 

 

Answer posted by Support on Apr 07, 2008 01:48
There is no native API., but can be done in next way

mygrid.forEachRow(function(id){
    for (var i=0; i<mygrid.getColumnCount(); i++)
       alert(mygrid.cells(id,i).cell._cellType||mygrid.cellType[i])
});