The usual TableControl.CurrentCell property does not give the exact CurrentCell when the CurrentCell is in the nested table. To get the CurrentCell value from the nested tables, you can use the following methods:
1. By using GetNestedCurrentCell()
2. By using CurrentElement.
By using the GetNestedCurrentCell(), you get the CurrentCell directly from anywhere in the nested table. Refer to the following code to get the CurrentCell.
By using the Table and TableControl properties of the GridGroupingControl that is taken from the CurrentElement, you can get the CurrentCell even when it is in the child table. Refer to the following code to get the CurrentCell.
The following screenshots display Record and Column name displayed on button click.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|