How to get tooltip on all "dirty" red triangles?

2 posts, 1 answers
  1. Ed
    Ed avatar
    168 posts
    Member since:
    Sep 2013

    Posted 27 Feb 2014 Link to this post

    When I am editing and a form element is marked as dirty (k-dirty) and the little red triangle shows up, how can I always have a tooltip associated with that red triangle?
    I currently have text boxes in a grid (using a client template) and attach to the change event and mark the dataItem as dirty and prepend the k-dirty span.  I want to have the tooltip show on hover of the dirty indicator (the little red triangle).
  2. Answer
    Rosen avatar
    3215 posts

    Posted 28 Feb 2014 Link to this post

    Hello Ed,

    In order to achieve the functionality in question, you should instantiate Tooltip widget over the grid container and set its filter option to .k-dirty. For example:

       filter: ".k-dirty",
       content: "The value has been changed!"

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top