5 Answers, 1 is accepted
Please check this demo for more info.
Best wishes,Vlad
the Telerik team
is it possible to make the tracking (mouse hover) & selection bar appear infront of the cell background when implementing a CellStyleSelector? When implementing a RowStyleSelector the background of the row is behind the tracking/selection bar.
Thanks
Sven
You should set the SelectionUnit property of RadGridView to Cell to achieve your goal.
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
thank you for your response. I'd like to stay with SelectionUnit as Row because in my case the user has to select a row not a cell. So UI should do, too. Any other suggestions?
Thank you in advance
Sven
Another possibility is to predefine the template of GridViewRow and position the Border elements which is responsible for MouseOver/Selection effects on the Top of the DataCellsPresenter (element responsible for displaying GridViewCells). These elements use colors with no Transparency - so if you want to apply some cell style and maintain these Borders on the top of the cell's Background you should use colors, which allow transparency. Otherwise the content of the cells will be lost.
I have prepared small sample demo which illustrates how this can be achieved.
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.