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

change cursor to hand on mouse over row

2 Answers 1340 Views
Grid
This is a migrated thread and some comments may be shown as answers.
peter
Top achievements
Rank 1
peter asked on 19 Jul 2010, 10:38 PM
Hi Everybody,
Sorry to bother you about this subject again - posted a similar question a while ago, had to do some studying on css, and now i am back with the same issue. If I mouse over a row in a radgrid (skin: vista) i want the cursor to change to a hand, so the user gets the signal that he can click the row. 

Well, I added this to aspx-page: 

<style type="text/css">
 
.UseHand
 
{
 
    cursor: hand;
 
}
 
</style>

and then for one column of the grid:

<telerik:GridBoundColumn DataField="AccommodationTitle"
            SortExpression="AccommodationTitle" UniqueName="AccommodationTitle"
            HeaderTooltip="Click om te sorteren">
            <HeaderStyle Width="100px" />
            <ItemStyle Font-Bold="True" Font-Size="9pt" VerticalAlign="Top" CssClass="UseHand"/>           
        </telerik:GridBoundColumn>

But, with no result. Any suggestions?
Regards, Peter.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Jul 2010, 01:41 PM
Hello Peter,

Add the style on page to change the mouse pointer to hand.

Style:
<style type="text/css">
    .rgAltRow, .rgRow
    {
        cursor: pointer !important;
    }
</style>


Thanks,
Princy.
0
TallOne
Top achievements
Rank 2
answered on 28 Apr 2011, 03:33 PM
Great tip thanks!

Tags
Grid
Asked by
peter
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
TallOne
Top achievements
Rank 2
Share this question
or