Removes the row at the specified index from the backing array.
Namespace: MindFusion.DataViews
File: ArrayModel.js
JavaScript Copy Code |
---|
function deleteRow (row) |
Number. The row index.
The following code deletes the first row if the count of rows in a grid is greater than 1000:
JavaScript Copy Code |
---|
if(grid.model.rowCount > 1000) { grid.model.deleteRow(0); } |