Check documentation for the latest version of dhtmlxSuite getColTypeById DHTMLX Docs

getColTypeById

gets the column type by its ID

string getColTypeById(string|number cID);

Parameters

cIDstring|numbercolumn id

Returns

stringthe type of a column

Example

//get type of the column with the id "column1"
var type=myTreeGrid.getColTypeById("column1");

Back to top