DeleteRow Method

Deletes a row from the DataGrid without deleting anything from the bound data source.

DataGridObject.DeleteRow(RowIndex)

Client support

   Newlook Smartclient

   Newlook Server

Use

The DeleteRow method removes the row specified in the RowIndex argument, then decrements the RowCount property by 1. This method is similar to DeleteRecord except the data source remains unaltered. This method removes the specified row regardless of whether the data grid control is connected to a data source or not.

Arguments

RowIndex - (Integer, Required)

The index of the row within the DataGrid that is to be deleted.

Returns

Returns a Boolean indicating the success or failure of the action.

Applies To

DataGrid control

See Also

DeleteRecord Method | DeleteColumn Method | AddRecord Method | InsertRow Method | InsertColumnArray Method | InsertColumn Method | RowCount Property | RowIndex Property


© 2004-2021 looksoftware. All rights reserved.