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
380
How to add a row expand button
posted

Hello,

       I am trying to add a row expand button next to each of my row. Instead of binding a dataset with two related tables, I am trying bind my grid to one table. But I need to have a expandIndicator to the left of each row which I can use to look up further data if the user chooses so. Any ideas highly appreciated

 

-Saravanan.

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    Saravanan,

    You would still need to add the child rows through a related table/structure in the underlying DataSource, even if you don't want to populate it until it is requested.  Therefore, you will still need to define this related table so that the grid is aware of the hierarchy, then you could use the BeforeRowExpanded event to populate the child table.

    -Matt

Children