I need to know the cell type in a onEditCell event.
I know, there is the getColType, but it is not convenient since some cells have not the same type as the Column.
Example:
…
Date
2009-0-02
…
I was expecting to find in Grid API something like …getCellExcellType.
Is there an alternative method as to difference between the cells?
Thanks in advance,
JL
There is no separate API call, you can try to use the next code
var type = grid.cells(i,j).cell._cellType||grid.getColType(j);
where i,j - row ID and column index
The grid.cells(i,j).cell._cellType is working fine.
Thank you