Initializes a new instance of the Control class.
Namespace: MindFusion.DataViews
File: UIControl.js
SyntaxJavaScript
Copy Code
|
|---|
function UIControl ([element]) |
HTMLElement. The control's associated Dom element.
ExampleThis is how you create a new Grid instance. Grid inherits from UIControl.
JavaScript
Copy Code
|
|---|
// create the grid columns var column1 = new dv.GridColumn("index"); var column2 = new dv.GridColumn("name"); var column3 = new dv.GridColumn("profit"); var column4 = new dv.GridColumn("registered"); // create the grid control |
See Also