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
475
Cannnot expand all rows
posted

Hello,

Am using UltraWinGrid 7.3 and UltraDataSource. I have the ultradataSource bound to the Grid. I added couple of child bands, childBand1 and ChildBand2 hierarchially inside ParentBand (Band 0) in DataSource. ChildBand1 is parent of ChildBand2.  I created all the bands, columns and rows in UltraDataSource. When the rows are displayed in the grid all the rows are collapsed. How do I expand all the rows. I tried using the following but does not expand the rows.

this.

 

ultraGrid1.Rows.ExpandAll(true);

Thanks,

Vijayan

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Vijayan,

    The code you have here is correct. If this is not working, then my guess is that you are calling it too early. This code will only work after the grid has been bound. If you call it before the grid is bound, there will not be any rows to expand, yet.

Children