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!
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.
Thanks, but unfortunately I have to apply UseFixedHeaders for all grid columns not just to one specific column, can I apply FixedCellSeparatorColor to the specific column?
I don't there there are any samples of drawing bold column borders, but there are lots of sample DrawFilters in the Infragistics Knowledge Base.
Thanks, any samples for DrawFilter?
FixedCellSeparatorColoronly applies to the border between the last fixed column and the first unfixed column.
If you need to provide more that one bold border, you will have to draw it using a DrawFilter.