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
920
Fixed columns and UseFixedHeaders = false
posted

Hello.

I want to fix some columns of my grid. I noticed that if UseFixedHeaders is set to false, the grid doesn't fix the columns (regardless if they have .Header.Fixed set to true).

How can I do to get some columns fixed but don't let the user change it? In this case I don't want the user to manage this.

 

Thanks,

Diego!

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;          
                UltraGridOverride ov = layout.Override;

                layout.UseFixedHeaders = true;
                ov.FixedHeaderIndicator = FixedHeaderIndicator.None;
            }

Children
No Data