This is a migrated thread and some comments may be shown as answers.

OnHover selected style display not properly

4 Answers 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Naresh Goradara
Top achievements
Rank 2
Naresh Goradara asked on 16 Apr 2010, 02:01 PM
Hi,

We have one RadGrid which contains long text as a single record.
Everything displaying fine, but when mouse hover on it, then it displays not properly and display different color's line.
In short it does not display in specified skin.
Image is attached.
Please suggest for resolving the issue.

Thanks in Advance,
Naresh

4 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 19 Apr 2010, 01:09 PM
Hello Naresh,

The RadGrid skins use CSS sprites for their background images for performance reasons. Because of this, there is a limitation - the row background styles work well only if the rows are less than 1000 pixels high.

In your case you should override the RadGrid skin and use a non-sprite background image for the rows' hover state.

Use the attached image and the following CSS rule:

div.RadGrid_WebBlue .rgActiveRow,
div.RadGrid_WebBlue .rgHoveredRow
{
    background:#bfe3f6  0  repeat-x  url('grid-webblue-hover.gif');
}


Best wishes,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Naresh Goradara
Top achievements
Rank 2
answered on 19 Apr 2010, 02:15 PM
Thank you for your replay, it works fine for mouse hover, but we also expericing same problem for Selected row. It will be appriciated if you provide image for Selected Row style.

Thank You,
Naresh Goradara
0
Dimo
Telerik team
answered on 19 Apr 2010, 02:30 PM
Here it is. The CSS rule should read

div.RadGrid_WebBlue .rgSelectedRow
{
    background:#7bbbcf  0  0  repeat-x  url('.....');
}



All the best,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Naresh Goradara
Top achievements
Rank 2
answered on 19 Apr 2010, 02:44 PM
Thank You, I works great now.

With Regards,
Naresh Goradara
Tags
Grid
Asked by
Naresh Goradara
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Naresh Goradara
Top achievements
Rank 2
Share this question
or