ASPxGridView.GetChildDataRow(Int32, Int32) Method
Returns a DataRow object that represents the specified row contained within the specified group.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
groupRowVisibleIndex | Int32 | An integer value that identifies a group row by its visible index. |
childIndex | Int32 | An integer value that identifies a data row within the group by its index. |
Returns
Type | Description |
---|---|
DataRow | A DataRow object that represents the specified row contained within the specified group. |
Remarks
The GetChildDataRow method allows you to obtain a 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 ASPxGridView.GetChildRowCount method.
Note
Since the GetChildDataRow method returns a DataRow object, it requires the bound data source support this type of object (e.g. Access Data Source, SQL Data Source). If the bound data source does not support DataRow objects, the GetChildDataRow method returns null (Nothing in Visual Basic). In this case, you can use the ASPxGridView.GetChildRow method to get an object that represents the specified row.