DHTMLX Docs & Samples Explorer

getColTypeById(cID)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

get column type by column ID

  • cID - column id
   //get type of the column with id "column1"
   var type=mygrid.getColTypeById("column1");

See also: getColType