Removes a range of rows.
Namespace: MindFusion.DataViews
File: Grid.js
JavaScript Copy Code |
---|
function removeRows (index, [count]) |
Number. The start index of the row range to remove.
Number. The length of the range.
The following code handles the rowCommand event and uses the removeRows method to remove rows, after the user confirms the operation:
JavaScript Copy Code |
---|
var ui = MindFusion.Common.UI; grid.rowCommand.addEventListener(function (sender, args) |