Search
Grid.attach Method
See Also
 






Control.attach override.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function attach ()

 Example

The following code creates a Grid programmatically and uses the attach method to add it 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