How to access values from selected group row in C1TrueDbGrid?

Posted by: svotava on 15 October 2020, 5:20 am EST

  • Posted 15 October 2020, 5:20 am EST

    I’m using the C1TrueDBGrid bound to a datatable, and grouped by one column. Multiselect is set to none. On the SelChange event, I want to pass a value from the selected row to another function. I’m having trouble when the selected row is the group row. What is correct way to access that row?

    On the non-grouped rows, I’ve been successful using
    to access the correct row.

    Thank you!
  • Replied 18 October 2020, 4:35 pm EST

    Hello Sherry,

    Sorry for the delayed response.
    We do not face the issue with the SelChange event when selecting the grouped row. Please find the attached sample implementing the same and if you are doing anything else then please let us know and modify the sample accordingly.

    Prabhat Sharma.
  • Marked as Answer

    Replied 20 October 2020, 5:16 am EST

    Thank you so much! The sample you provided helped me see where I had gone wrong.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels