Check documentation for the latest version of dhtmlxSuite getColumnsNum DHTMLX Docs

getColumnsNum

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

number getColumnsNum();
numberthe number of columns in the grid

Example

var colNum=myGrid.getColumnsNum();

Back to top