Gets the number of display columns.
Namespace: MindFusion.DataViews
File: ArrayModel.js
SyntaxJavaScript
Copy Code
|
|---|
get columnCount() {} |
Number. The column count.
ExampleThe 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