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
20
Group by webgrid remove expand button +/-
posted

Hi,

I am using ultrawebgrid for group by two columns. I want to remove all the expand button and want the grid to be defalt expanded when loads both the group.

Thanks,

Manoj

  • 1923
    posted

    The following should accomplish that, just make sure the groups are already expanded (i guess!):

    UltraWebGrid1.DisplayLayout.Bands(0).Expandable = Expandable.No

    You could put this code in your InitalizeLayout or through the properties...