[REACT] Bryntum Gantt customizing the task tooltip properties?
Posted: Fri Jan 27, 2023 3:52 am
by rtbennett
Dear Bryntum:
I had a quick question about wanting to "customize" the task tooltip (taskTooltip) feature? I wanted to remove or disable the "Complete" property in the task tooltip that shows up when hovering over the slider bar in the right-hand side of the gantt chart.
I have highlighted in red the property ("Complete") that I do not want to show. All the others are fine -- -- but wanted to see if there was an easy way to disable just this one property?
Screen Shot 2023-01-26 at 6.39.01 PM.png (58.83 KiB) Viewed 510 times
The way I have tried to do it is shown below in the following code snippet. This is being done within my ganttConfig file. In the "features" property -- I am trying to access the complete field within the taskTooltip property. This has not worked -- and was hoping that you could show me with a quick code snippet how to do this correctly? I have tried to use "complete" or "percentDone" -- and neither of them have worked. I could not find in the docs another way to disabled just the one "Complete" property. I was able to disable the entire taskTooltip -- but again would like to include that with only the other properties.
I look forward to your response. Thanks for your help with this.
Here is the code snippet below -- of my "ganttConfig":
features: {
taskTooltip : {
complete: false,
}
},
Re: [REACT] Bryntum Gantt customizing the task tooltip properties?