jQuery.wijmo Namespace > wijgrid type : ensureControl Method |
Javascript (Usage) | |
---|---|
var instance = new jQuery.wijmo.wijgrid(); // Parameters var loadData; // Type: bool instance.ensureControl(loadData); |
Javascript (Specification) | |
---|---|
function ensureControl( loadData : bool ) : void; |
// Adds a new row to the viewModel and refreshes the wijgrid var len = viewModel.data().length; viewModel.data.push(new Person({ ID: len, Company: "New Company" + len, Name: "New Name" + len })); $("#element").wijgrid("ensureControl", true);