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