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
925
Expanding grid to a specific row in the grid
posted

If I have a grid that has 2 Outlook group-by columns collpased, how can I expand the grid to a specific row (i have the ID of the row).  I just want to open the specific grouping that contains that record.

Thanks

Scott

  • 20872
    Offline posted

    Hello Scott,

    Please let us know if you have any other questions.

     

  • 69832
    Offline posted

    UltraGridRow exposes a ParentRow property, which in the case where the row belongs to a group, will be an UltraGridGroupByRow. You can upcast the return value from ParentRow to an UltraGridGroupByRow, set its Expanded property to true, then assign the row (whose ID you have, not the group-by row) to the grid's ActiveRow property.