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 DaaSource. ChildBand1 is parent of ChildBand2. I created all the bands, columns and rows in UltraDataSource. I tried using the following in the UltraGrid initialize event handler but didn't hide the column headers. I still get headers for both the childBands. How do I hide them? The column headers are the same for the parent and child Bands. I need one header for the complete Grid.
ultraGrid1.DisplayLayout.Override.HeaderPlacement = Infragistics.Win.UltraWinGrid.
HeaderPlacement.OncePerGroupedRowIsland;
Thanks,
Vijayan
Hello Vijayan,
Probably you would need to set the headers like the following:
ultraGrid1.DisplayLayout.Bands[1].ColHeadersVisible = false; ultraGrid1.DisplayLayout.Bands[2].ColHeadersVisible = false;
Please let me know if that is what you are looking for.
Thanks Danko Valkov, that's exactly what I was looking for. It works. But I cannot expand all the rows. I used the following command.
this
.ultraGrid1.Rows.ExpandAll(true);
vijayan