Sets a value at the specified position.
Namespace: MindFusion.DataViews
File: ArrayModel.js
JavaScript Copy Code |
---|
function setValue (row, column, value) |
Number. The row index.
Number. The column index.
Object. The value.
The following code sets the contents of the first cell in a grid to be the current date:
JavaScript Copy Code |
---|
grid.model.setValue(0, 0, new Date()); |