Check documentation for the latest version of dhtmlxSuite getColTypeById DHTMLX Docs

getColTypeById

gets the column type by its ID

string getColTypeById(string|number cID);
cIDstring|numbercolumn id
stringthe type of a column

Example

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

Back to top