Search
DeleteCommand Class
See Also
 






Handles row deletion, triggered by a command grid column.

Namespace: MindFusion.DataViews
File: DeleteCommand.js

 Syntax

JavaScript  Copy Code

// class
DeleteCommand.prototype = {}

 Example

The following code creates a GridColumn of CommandType and sets its data to be DeleteCommand:

JavaScript  Copy Code

var dv = MindFusion.DataViews;

// create the grid columns
var columns = [];

var column0 = new dv.GridColumn();
column0.dataType = dv.CommandType;
column0.metaData.set("command", DeleteCommand]);
columns.push(column0);

 Inheritance Hierarchy

MindFusion.DataViews.DeleteCommand

 See Also