Check documentation for the latest version 6.0 of dhtmlxSuite getColumnsNum DHTMLX Docs

getColumnsNum

returns the number of columns in the grid (including hidden columns)

number getColumnsNum();

Returns

numberthe number of columns in the grid

Example

var colNum=myGrid.getColumnsNum();

Back to top