This is a migrated thread and some comments may be shown as answers.
Place tooltip inside html element?
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Louise
Top achievements
Rank 1
Louise asked on 11 May 2017, 02:42 AM
Whenever a tooltip is created, the .k-tooltip div is placed on the body. I need the tooltip elements to be placed inside a div on the body.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 12 May 2017, 12:00 PM
Hello Louise,

By design the when the ToolTip its elements are rendered within a div with class "k-animation-container", which is added to the body. If you want it rendered within a specific div on your page you could append or prepend k-animation-container to that div with jQuery. Here's a sample dojo, which demonstrates this approach. In the ToolTip's show event handler the wrapping div (k-animation-container) is appended to a div with class "myContainer".

Regards,
Ivan Danchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Louise
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or