Gets the value at the specified position.
Namespace: MindFusion.DataViews
File: GridModel.js
JavaScript Copy Code |
---|
function value (row, column) |
Number. The row index.
Number. The column index.
Object. The value.
The following code gets the display value of all cells in a grid column and paints the background of those, whose value is more than 1000, in red:
JavaScript Copy Code |
---|
for(var i = 0; i < grid.model.rowCount; i++) if(grid.model.value(i, 2) > 1000) |