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

How to get tooltip on all "dirty" red triangles?

1 Answer 30 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 27 Feb 2014, 09:30 PM
When I am editing and a form element is marked as dirty (k-dirty) and the little red triangle shows up, how can I always have a tooltip associated with that red triangle?
I currently have text boxes in a grid (using a client template) and attach to the change event and mark the dataItem as dirty and prepend the k-dirty span.  I want to have the tooltip show on hover of the dirty indicator (the little red triangle).
Thanks,
--Ed

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 28 Feb 2014, 09:25 AM
Hello Ed,

In order to achieve the functionality in question, you should instantiate Tooltip widget over the grid container and set its filter option to .k-dirty. For example:

$("#grid").kendoTooltip({
   filter: ".k-dirty",
   content: "The value has been changed!"
 });

 
Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ToolTip
Asked by
Ed
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or