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
990
ValueBaseAppearance hidden by selectedrow appearance
posted

Hi!

We configured at loading time some conditonnal formatting on columns of the grid. It works great. The formatting set cell back color.

But if the row is selected then the selected row appearance is taken instead of the valuebased appearance. Is there any way to show the correct back color even if the row is selected ?

Best regards,

Benoit

Parents
  • 469350
    Offline posted

    Hi Benoit,

    Try this:


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

                layout.SelectionOverlayColor = SystemColors.Highlight;
            }

     

    This will make the selection work like an overlay (like MS Excel) instead of changing the color of the cells directly. This way your users will be able to see both the selection and the ValueBasedAppearance.

Reply Children