How to get the cell type

I have a dhtmlx grid in which i initially set the type of the cell as ‘ro’.

On clicking of a radio button in the grid i change the cell type to ‘ed’ using setCellExcell method.

There is another checkbox which populates the same cell with value but i should not allow it to write to the cell if the radio button was not clicked and the cell type not changed from ro to ed.

Any idea on how i can get the cell type so that i can check whether its ro or changed to ed mode.

There is no public way, but you can try the following: this.cells3(this.rowsAr[rowId],cellIndex)._cellType