Cell Type in the dhtmlxGrid

Hi,



I load the grid values using xml where i have defined the some cell as combo and some other cells as read-only in the same column.

How can I know the cell type in a grid, if it is a combo or read-only etc.

We can know the column type in the grid but is there any function which can tell me the cell type in the grid.



Also,



How can I create a combo cell type in xml and without any options added to it.



Can I change the existing cell from read-only to combo type. If yes, how can I do this?



Thank you,



Madhu

We can know the column type in the grid but is there any function which can tell me the cell type in the grid.
There is no “legal” way.
You can try

var type = grid.cell(i,j).cell._cellType||grid.getColType(j);

>>How can I create a combo cell type in xml and without any options added to it.
Just define column type as combo ( “co” or “combo” ), it will load empty if you will not use additional code to defined combo options. ( if related cell in grid has value , the combo in question still will have a single option - equal to current cell value )
>>Can I change the existing cell from read-only to combo type. If yes, how can I do this?
next command allows to change the type of cell dynamically
grid.setCellExcellType(id,ind,new_type);