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 the type of the column with the id "column1"
var type=myGrid.getColTypeById("column1");

Back to top