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
Hide Childband headers
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 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

Parents
No Data
Reply
  • 20872
    Offline posted

    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.

Children