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
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.
Thanks Mike. Yes, I was calling before creating the rows but after bind the GRid. It works after making the change.