Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 139
Modifying Data
Chuck Danielsson edited this page Nov 7, 2017
·
1 revision
Hypergrid 2.0.2
vardataModel=myGrid.behavior.dataModel;dataModel.setValue(x,y,value)The X coordinate of the target cell
The Y coordinate of the target cell
The value to update
The upper left data cell represents the origin.
vardataModel=myGrid.behavior.dataModel;dataModel.dataSource.data.push(newRow);//Draw updatemyGrid.behaviorChanged();newRow is an object of the same shape as the other data rows.