Skip to main content

MVCxGridView.GetChildRowValues(Int32, Int32, String[]) Method

Returns the values of the specified data source fields in the specified data row, contained in the specified group.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public override object GetChildRowValues(
    int groupRowVisibleIndex,
    int childIndex,
    params string[] fieldNames
)

Parameters

Name Type Description
groupRowVisibleIndex Int32

An integer value that identifies the group row by its visible index.

childIndex Int32

An integer value that identifies the data row within the group.

fieldNames String[]

The names of data source fields whose values within the specified row are returned.

Returns

Type Description
Object

An array of field values.

Remarks

The GetChildRowValues method allows you to obtain the values of the specified data row, contained within the specified group row. The group row is identified by its visible index. A data row is obtained by its index within the group. To obtain the number of data rows contained within the specified group, use the MVCxGridView.GetChildRowCount method.

See Also