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();

Returns

numberthe number of columns in the grid

Example

var colNum=myTreeGrid.getColumnsNum();

Back to top