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
20
HeaderCheckBoxVisibility.Never Not Working
posted

During my WinGrid (version 14.2.20142.2010) initialization, I set my HeaderCheckBoxVisibility to .Never, yet the header still has a checkbox. I have tried various permutations of this, including just trying to prove to myself that I have hold of the correct control. I do.

Here are some of the pieces of code I have tried:

GridControl.DisplayLayout.Bands[0].Columns["MyColumn"].Header.CheckBoxVisibility = HeaderCheckBoxVisibility.Never;

UltraGridColumn isActiveColumn = GridControl.DisplayLayout.Bands[0].Columns["MyColumn"];
isActiveColumn.Header.CheckBoxVisibility = HeaderCheckBoxVisibility.Never;

UltraGridBand band = GridControl.DisplayLayout.Bands[0];
band.Override.ResetHeaderCheckBoxVisibility();
band.Override.HeaderCheckBoxVisibility = HeaderCheckBoxVisibility.Never;

I appreciate any help anyone can provide.