Skip to main content
Tab

ASPxGridView.GetRowLevel(Int32) Method

Returns the level at which the specified row resides.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public int GetRowLevel(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

An integer value that specifies the row’s visible index.

Returns

Type Description
Int32

An integer value that specifies the level at which the specified row resides.

Remarks

Use the GetRowLevel method to identify at which level a group or data row resides.

GetRowLevel

Example

<dx:ASPxGridView ID="ASPxGridView1" runat="server" OnSummaryDisplayText="ASPxGridView1_SummaryDisplayText">
    <Settings ShowGroupPanel="true" ShowFooter="True" ShowGroupFooter="VisibleIfExpanded"/>
    <Columns>
    ...
    </Columns>
    <GroupSummary>
        <dx:ASPxSummaryItem FieldName="UnitPrice" ShowInGroupFooterColumn="UnitPrice" SummaryType="Count" />
    </GroupSummary>
</dx:ASPxGridView>
See Also