I'm using a filter and setting the title attribute on an element, but the original title is appearing.
I find that I need to also do this:
$elem.data(kendo.ns + 'title', newTitle);
... for the new title to appear in the tooltip. However, IF I force a different tooltip to appear first, then my updated title attribute is displayed.
Seems to me that in _show, a test should be made to check if the title attribute has changed;
if (!current || current[0] != target[0] || _hasNewContent(target)) {
that._appendContent(target);
that.popup.options.anchor = target;
}
_hasNewContent can compare the current title attribute to the value that's been saved off and, if different, reset the content.
I find that I need to also do this:
$elem.data(kendo.ns + 'title', newTitle);
... for the new title to appear in the tooltip. However, IF I force a different tooltip to appear first, then my updated title attribute is displayed.
Seems to me that in _show, a test should be made to check if the title attribute has changed;
if (!current || current[0] != target[0] || _hasNewContent(target)) {
that._appendContent(target);
that.popup.options.anchor = target;
}
_hasNewContent can compare the current title attribute to the value that's been saved off and, if different, reset the content.