ASPxClientGridViewBatchEditApi.GetDeletedRowIndices Method

Returns an array of the deleted row visible indices.

Declaration

GetDeletedRowIndices(): number[]

Returns

Type Description
number[]

An array of integer values that are the visible indices of the deleted rows.

Remarks

In batch edit mode, the ASPxGridView control allows modifying a batch of grid data on the client side and sending it to the server in one request.

Use the GetDeletedRowIndices method to get visible indices of rows that are deleted on the client side.

NOTE

The GetDeletedRowIndices method is not in effect if the grid is switched to Changes Preview mode.

Example

<dx:ASPxGridView ID="Grid" runat="server" AutoGenerateColumns="False" DataSourceID="Source" ... >
    <Columns>
    ...
    </Columns>
    <ClientSideEvents BatchEditRowDeleting="OnBatchEditRowDeleting" />
    ...
</dx:ASPxGridView>
...
<dx:ASPxHiddenField ID="ASPxHiddenField1" runat="server" ClientInstanceName="hiddenField">
</dx:ASPxHiddenField>
See Also