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
633
Is there anyway to get the grid to expand a group by header by itself
posted

hi!

I have a grid which  shows items which are groupe/ outlook style group by.

 When the grid first appears the  group by row is collapsed. Is there anyway to make only the group by row on top to appear expanded.

 

Regards,

Ahmad

  • 21382
    Verified Answer
    posted

     If you are trying to expand all the group by rows, then the Nic's answer is correct, if you only want to expand the first group by row then you would need to set the .Expanded property on the row to true.

  • 3147
    Verified Answer
    posted

    I'm not sure if I understand your question correctly but if you're trying to expand all rows from the top level Band only, you need to call ExpandAll method on that Band:

     

    UltraWebGrid1.Bands[0].ExpandAll();

     

    Regards,
    Nick