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
920
HotTrackedCellAppearance and ActiveRowApearance
posted

Hello.

I've an UltraGrid which I specify a BackColor for each cell, and it changes depending some things of the system. So, I've set in my isl file for the UltraGridRow and UltraGridCell in the states: normal, active, selected and hottracked the backcolor as transparent.

I'm having two problem:

     When I click some cell all the cells in the row changes its BackColor to white. I've "solved" adding this code to the end of CellClick event:

foreach (UltraGridCell cell in e.Cell.Row.Cells)
{
    cell.ActiveAppearance = cell.Appearance;
    cell.SelectedAppearance = cell.Appearance;
}

but it makes a blinking between white BackColor and the right one.

 

     My second problem: on the mouse over event of a cell it puts its BackColor as white, no motter I've set UltraGridCell -> HotTracked -> BackColor as white.

 

Thanks for the help.

Diego

Parents Reply Children