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
250
Expand/Collapse All Button?
posted

I have Grouping in my Grid and therefore have the little +/- buttons for expanding the groups.

I want to create an Expand/Collapse ALL button. I know how to do this with a regular button outside of the Grid. My questions is, can I put this button INSIDE the Grid?

So maybe like an extra row at the top that holds it or at the far left of the columns. OR even better inside the first column somewhere?

The closest I found to this was on CreationFilters. Would that be the only way to get the button I'm looking for?

Thanks

Parents
  • 6120
    Verified Answer
    Offline posted

    Hi Caleb,

    Using a CreationFilter is the best way to achieve this. You can refer to the attached sample on how to implement this CreationFilter for displaying an Expand/Collapse All button for the grouped columns in a Grid.

    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

    WinGrid_ExpandAllGroupBy_CS.zip
Reply Children