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
455
Transparent active/selected Row
posted

Hi,

in my current projekt I have a grid using colors to show the status of data. In one row there are up to three different colors. You can change data by clicking a button or by using the context menu. Whenever a row is active or selected the colors of the cells are replaced by the colors of the active/selected row. That's not what I want. The solution I would prefer is an active/selected row which only has a solid border, nothing else. The colors of the cells may not be lost. How can I implement such a feature?

Best regards

Alex

Parents
  • 469350
    Offline posted

    Hi Alex,

    If you have a fairly recent version of the controls, you can use the selection overlay feature:


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

Reply Children