ToolTip - Navigate

2 posts, 0 answers
  1. Sri
    Sri avatar
    4 posts
    Member since:
    Jan 2012

    Posted 19 Sep Link to this post

    I would like the user to navigate to different page - if user clicks on a treemap cell ..

    How to set the Redirection or Navigation to happen ?.

    Using web app , aspx , vs 2015 , Kendo latest 

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    114 posts

    Posted 21 Sep Link to this post

    Hello Sri,

    I found the title of this thread a little confusing.There is no Kendo UI Tooltip mentioned in the question despite the title, so I will assume that the title was posted by mistake and respond regarding the Kendo UI TreeMap items in your question.

    To navigate away from the Kendo UI TreeMap when a user clicks on an item you could use the jQuery wrap() method to wrap the item in an anchor tag upon its creation:

    itemCreated: function(e){
     $(e.element).wrap( "<a href='#'></a>" );
    },

    Documentation reference for the itemCreated event is available at:

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/treemap#events-itemCreated

    Alternatively, you may modify the template of each cell to include an anchor tag, either with an inline template or as a function:

    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/treemap#configuration-template

    Kind Regards,
    Alex
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. Kendo UI is VS 2017 Ready
Back to Top