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

Tooltip in Telerik Grid

2 Answers 146 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
arjun
Top achievements
Rank 1
arjun asked on 01 Nov 2010, 01:08 PM
Hi guys,
I am newly using mvc2 .
i am here trying to display the tooltip ,when user moves the mouse on the grid column.
Infact i want to display the grid column data in tooltip.

if you have such solution please  can any one share.......

Thanks in advance........

Arjun

2 Answers, 1 is accepted

Sort by
0
Diiimo
Top achievements
Rank 1
answered on 09 Dec 2010, 08:36 AM
Hello,

is there a solution for this problem?
I tried:
c.Bound( model => model.ShortDescription ).Sortable( false ).HtmlAttributes( new { title = "<#=Description#>" } );
But this won't work.

Regards,
Timo
0
Georgi Krustev
Telerik team
answered on 09 Dec 2010, 01:26 PM
Hello Timo,

 
If you are binding grid on server, you should use CellAction in order to apply title to each cell:

.CellAction(cell => cell.HtmlAttributes.Add("title", cell.Column.Member))

If the grid is bound with Ajax you should use client-side event OnRowDataBound.

Best wishes,
Georgi Krustev
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
Tags
Grid
Asked by
arjun
Top achievements
Rank 1
Answers by
Diiimo
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or