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
1585
Expand group on double click
posted

Is there any way where i can double click on the grouping header and have it expand or collapse the items in the respective group?

Parents
No Data
Reply
  • 6475
    Verified Answer
    posted

    Hi,

    You could add an event handler to XamGrid's CellDoubleClicked event and expand the row:

     

            private void igGrid_CellDoubleClicked(object sender, CellClickedEventArgs e)
            {
                if (e.Cell is GroupByCell)
                {
                    ExpandableRowBase row = ((ExpandableRowBase)e.Cell.Row);
                    row.IsExpanded = !row.IsExpanded;
                }
            }
    

    Hope this helps,

Children
No Data