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
885
Wingrid - bold columns separator
posted

Hi,

Do you know any way I could make separator between certain columns bold? My grid having lots of columns and user need some visual indicator where is one group of columns ends and another starts.

Thanks!

 

 

Parents
  • 469350
    Suggested Answer
    Offline posted

    If you are using Fixed headers, then you can put a separator between the fixed and unfixed columns or groups using the FixedCellSeparatorColor property on the Override.


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.UseFixedHeaders = true;
                e.Layout.Bands[0].Columns[0].Header.Fixed = true;
                e.Layout.Override.FixedCellSeparatorColor = Color.Red;
            }

    If you are not using Fixed header, then the only other way to do something like this would be to use a DrawFilter and draw the border yourself.

     

Reply Children