Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Not able to fetch the data Item of the child records
posted

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Hi

I have Datagird where user can group it using group by area location. After grouping the grid, I am not able to fetch the data Item of the child records.

Kindly help me to get the Data Item of the grouped records. I getting the count of child records as below code.

For Each objDataRecord As GroupByRecord In dgrDataGrid.Records
    If DirectCast(objDataRecord.ChildRecords,RecordCollection).Count > 0 Then
               Dim i As Integer
               Dim intChildRecordCount=DirectCast(objDataRecord.ChildRecords, RecordCollection).Count
               For i = 0 To intChildRecordCount - 1
              
                       // By iterating the child record, how i can fetch the child record data Item
                               
              Next i
    End If
Next   

Thanks in Advance