Search
Grid.draw Method
See Also
 






Control.draw override.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function draw ()

 Example

The following code creates a Grid programmatically and uses the draw method before attaching the grid to the DOM tree of the web page:

JavaScript  Copy Code

// create the grid control
var dv = MindFusion.DataViews;

var grid = new dv.Grid();
document.getElementById("gridElement").appendChild(grid.draw());
grid.attach();

 See Also