Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tep on Mar 17, 2008 20:33
open dhtmlx forum
cell type

how do i know the cell type of the current selected cell..?

thanks..
Answer posted by Support on Mar 18, 2008 04:59
There is no API to access such data
If you not using per-cell-typing it can be taken as
    grid.cellType[index]
where index - column index

In case of per-cell typing it can be taken as

    var type =     (grid.cells(id,index).cell._type||grid.cellType[index]);