The interface for grid models.
Namespace: MindFusion.DataViews
File: GridModel.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
RemarksA class that implements the GridModel interface is ArrayModel, which provides data for Grid instances.
ExampleThe 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 |
Inheritance HierarchyMindFusion.DataViews.GridModel
See Also