Sets a value at the specified position.
Namespace: MindFusion.DataViews
File: GridModel.js
SyntaxJavaScript
Copy Code
|
|---|
function setValue (row, column, value) |
Number. The row index.
Number. The column index.
Object. The value.
ExampleThe 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()); |
See Also