Search
ArrayModel.deleteRow Method
See Also
 






Removes the row at the specified index from the backing array.

Namespace: MindFusion.DataViews
File: ArrayModel.js

 Syntax

JavaScript  Copy Code

function deleteRow (row)

 Parameters

row

Number. The row index.

 Example

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); 
}

 See Also