This sample shows how you can retrieve the values of the current element and the current cell in a Grid Grouping control.
Features:
In this sample, the Grid Grouping Control is bound to a hierarchical data set customized at design-time.
Results are displayed through labels.
Information about the current record is retrieved by capturing the element at the current mouse pointer location.
When activating a grid cell, the sample retrieves its value by handling the TableControlCurrentCellActivated event.
This in-turn employs the user-defined method GetNestedCurrentElement, which returns the element corresponding to the cell being activated.
The CurrentRecordManager.CurrentField property on the instances of the Element.ParentTable will provide details of the active field.