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
100
Ultragrid - ActiveRow transparency
posted

Hi,

 I have customize ultragrid appearance in initialize handler like this  :

            e.Layout.Override.RowSelectors = DefaultableBoolean.False;
            e.Layout.Override.SelectTypeRow = SelectType.Extended;
            e.Layout.Override.SelectTypeCell = SelectType.None;
            e.Layout.Override.SelectTypeCol = SelectType.None;
            e.Layout.Override.HeaderClickAction = HeaderClickAction.SortMulti;
            e.Layout.Override.CellClickAction = CellClickAction.RowSelect;

 

Some of my Ultragrid Cells  are colored in a specific color that depends on a condition :

if (condition ){

           gridWellResults.Rows[row.Index].Cells[4].Appearance.BackColor = RejectedColor;

}

 

Finally I have set the  active row appearance to Color.Transparent :

              grid.DisplayLayout.Override.ActiveRowAppearance.BackColor = Color.Transparent;

The problem is that  active row background is become white , not transparent .

I have tried also to set transparency in a style file , the same result . 

 

                                Thanks in advance,

                                              Ovidiu

                                                      

       

Parents Reply Children
No Data