Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Tooltip visibility toggle based on task field

$
0
0

I can and have done that for different task types already. What I am trying to do is completely turn off tooltips for specific tasks. I'm not sure that's feasible. Here's the latest version I tried - all selected items are as required, just am unable to turn off the tooltip for some tasks. Not setting anything in the tooltip template causes a small, empty tooltip to display.

functiononDataBound() {
    vargantt = this;
    ...
    gantt.element.find(".k-task-single").each(function(e) {
        this.style.border = "0px";
        this.style.height = "20px";
        varz = this;
        varxx = $(z).find(".taskProj"); // a class I added to a span inside the wrapper div in the task template
        varxxx = xx[0]; // there should only be one item in this array
        if($(xxx).data("pid") === null) {
            $(z).tooltip.visible = false; // this isn't working
        }
    });
}

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>