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

[Solved] Changing Cursor for Grid

2 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 26 May 2009, 03:56 PM
A user has complained that they get the 'hand' cursor whenever they mouse over any part of the grid rather than just on a hyperlink.
I do NOT have a skin set. In the grid I have Skin="".
I can't find a design time property to change it.
I tried adding a style to the grid, but that had no effect. For example:
    protected override void OnInit(EventArgs e) 
    { 
        RadBuildingCoverageGrid.Attributes.Add("style", "cursor:pointer"); 
    } 
 

What am I missing here?


2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 May 2009, 04:15 PM
Hello Bob,

A possible approach is shown below:
protected void Page_Load(object sender, EventArgs e) 
    RadBuildingCoverageGrid.MasterTableView.Style["cursor"] = "pointer"

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Bob
Top achievements
Rank 1
answered on 26 May 2009, 08:59 PM
Thanks, that worked!

Bob
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Bob
Top achievements
Rank 1
Share this question
or