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

Show hand when hover over grid

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 26 Nov 2008, 10:55 PM
Hello,

How can I show the finger pointing representing clickable area in the grid.

Thank you

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Nov 2008, 03:47 AM
Hello Sroun,

Check out the following code to set pointer as the cursor style when hovering over the grid rows.
cs:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridDataItem) 
        { 
            GridDataItem dataItem = (GridDataItem)e.Item; 
            dataItem.Attributes.Add("onmouseover", "this.style.cursor = 'pointer';"); 
        } 
    } 

Thanks
Princy.

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