Hi,
I'm trying to alter the appearance of the selected row. But no matter what I do it's just that default blue color that everything is when it's selected.
I have used ultraGrid1.DisplayLayout.DefaultSelectedBackColor and cell.SelectedAppearance.BackColor and others.
I have noticed that if I click to select a row, keep the mouse button down, and drag it another selection will appear and that one will have the proper Appearance. Note that I have RowSelect on and no multiselect so I'm not sure why it's even allowed to select like this but apparently that new dragged off row is the real selected one.
How do I make this default blue highlight go away so I can actually see the appearance? I assume it come from some kind of windows them since it's the same color that would appear if you were to select text for example. There must be a way to turn it off for the ultragrid?
Caleb Whitaker said:I have noticed that if I click to select a row, keep the mouse button down, and drag it another selection will appear and that one will have the proper Appearance.
What's happening there is that you are changing the ActiveRow without changing the selected row. So this says to me that you are not seeing the selected appearance because there's an Active row appearance applied and it's taking precedence over the selected appearance.
This should help:
FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.
That did it!
Thanks