Edit this page

refresh

Refresh the Tooltip content.

Example force refresh of the Tooltip content

<div id="container">
  <span id="target" title="Tooltip content">Tooltip target</span>
</div>

<button id="refreshButton" class="k-button">Refresh Content</button>

<script>
  $(document).ready(function() {
    var tooltip = $("#container").kendoTooltip({
      filter: "span",
      position: "right",
      content: function() {
        return "last time refreshed: " + kendo.format("{0:T}", new Date());
      }
    }).data("kendoTooltip");


    $("#refreshButton").click(function() {
      tooltip.refresh();
    });
  });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy