Removes the row at the specified index from the backing store.
Namespace: MindFusion.DataViews
File: GridModel.js
SyntaxJavaScript
Copy Code
|
|---|
function deleteRow (row) |
Number. The row index.
ExampleThe 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); } |
See Also