Place tooltip inside html element?

2 posts, 0 answers
  1. Louise
    Louise avatar
    19 posts
    Member since:
    Nov 2014

    Posted 10 May 2017 Link to this post

    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.
  2. Ivan Danchev
    Ivan Danchev avatar
    1465 posts

    Posted 12 May 2017 Link to this post

    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".

    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.
Back to Top