MVVM Gantt tooltip

4 posts, 0 answers
  1. Anosov
    Anosov avatar
    2 posts
    Member since:
    Jun 2015

    Posted 18 Jun 2015 Link to this post

    Kendo Gantt not have in options property "tooltip:null" and data-tooltip not work in Kendo View. Now I use next hack: 

     kendo.ui.Gantt.fn.options.tooltip = null;

     

    Please, add in Kendo Gantt options property tooltip.

  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 19 Jun 2015 Link to this post

    Hello,

    The gantt widget does have a tooltip property in the options. You can see it in our API reference:
    http://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration-tooltip

    In order to prevent it from showing you can use the tooltip.visible property:
    http://docs.telerik.com/kendo-ui/api/javascript/ui/gantt#configuration-tooltip.visible

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Anosov
    Anosov avatar
    2 posts
    Member since:
    Jun 2015

    Posted 19 Jun 2015 in reply to Bozhidar Link to this post

    Nope... setting "tooltip" from code work fine, coz user self set this property.

    Setting property with kendo MVVM engine (kendo.init, kendo.View, etc.) not work.

    Initialization from this code:

    <div data-role="gantt" data-tooltip="{visible:false}"></div>

    not set up property tooltip for init control, because kendo.ui.Gantt widget not have in definition options property with name "tooltip".

     

    U can watch source code(screenshot).

    Simple resolving - add to options property with name "tooltip", what doing my hack code

     

  5. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 19 Jun 2015 Link to this post

    Hello,

    This is a bug in the gantt widget and we will fix it in time for the next internal build. 

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready