Search
ArrayModel.columnCount Property
See Also
 






Gets the number of display columns.

Namespace: MindFusion.DataViews
File: ArrayModel.js

 Syntax

JavaScript  Copy Code

get columnCount() {}

 Property Value

Number. The column count.

 Example

The following code gets the index of the last row and column in a grid:

JavaScript  Copy Code
var lastRow = grid.model.rowCount - 1;
var lastColumn = grid.model.columnCount - 1;

 See Also