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
440
Hiding Headers in Bands
posted

Hi,

In my grid, I want to show the headers only when band index = 1. In rest of the bands, I want to hide the headers. I'm using Infragistics2.Win.UltraWinGrid.v10.2. 

The piece of code which i used to achieve this functionality is

 

 

 

foreach

 

(UltraGridBand band in gridEquipments.DisplayLayout.Bands) {

if (band.Index > 0)

band.ColHeadersVisible =

false;}

But it doesn't help to solve the problem. Attached is the screenshot of my Grid.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    The screenshot you are showing here does not appear to be showing any child band headers. There are two sets of headers displayed here, but they both appear to be for the root band, not the child band.

    If you only want to the root band to show the headers once, then you should set the HeaderPlacement property (on the Override) to FixedOnTop.

Children
No Data