We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to get the CurrentCell of the nested ChildTable?

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()

By using the GetNestedCurrentCell(), you get the CurrentCell directly from anywhere in the nested table. Refer to the following code to get the CurrentCell.

C#

VB

 

  • By using the CurrentElement.

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.

C#

VB

The following screenshots display Record and Column name displayed on button click.

 

Sample Links:

RecordandColumnname-C#

RecordandColumnname-VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4263 03/10/2015 03/10/2015 Windows Forms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.