Grid change ToolTip position

3 posts, 0 answers
  1. Max
    Max avatar
    6 posts
    Member since:
    Nov 2013

    Posted 05 Jan Link to this post

    Hi.

    I have a tooltip with a list of checkbox to control a visibility of grid columns.

    I change de position of a tooltipo on show by a fixed position.

     

    Its work fine with columns where rows had one line, but when a row have more than one line the grid resize his height and change de position of a tooltip.

    When this occurs tooltip go outside a viewport, but keep open.

     

    How can I prevent this change of position of a tooltip.

  2. Max
    Max avatar
    6 posts
    Member since:
    Nov 2013

    Posted 06 Jan in reply to Max Link to this post

    To solve the problem I rewrited KendoGrid.hideColumn and ToolTip.show to recalculate the correct position of a tooltip.
    I change the position of a tooltip to "absolute" and calculeted position with base on parent conteiner.

    With this changes the problem was resolved.

  3. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    570 posts

    Posted 06 Jan Link to this post

    Hi Max,

    Good job resolving the issue. The described approach seems valid for the scenario. Let us know if you have other questions on the topic.

    Regards,
    Dimiter Topalov
    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