The interface for grid models.
Namespace: MindFusion.DataViews
File: GridModel.js
JavaScript Copy Code |
---|
// class |
A class that implements the GridModel interface is ArrayModel, which provides data for Grid instances.
The following code creates a new Grid instance and uses an ArrayModel to create the model for the new grid:
JavaScript Copy Code |
---|
var dv = MindFusion.DataViews; // create the grid columns var column1 = new dv.GridColumn("index"); var column2 = new dv.GridColumn("name"); var column3 = new dv.GridColumn("winnings"); var column4 = new dv.GridColumn("registered"); // create the grid control |
MindFusion.DataViews.GridModel