Skip to content

Commit fecd5b9

Browse files
committed
chore(Gantt): last update
1 parent 4639209 commit fecd5b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

knowledge-base/gantt-tooltip-access-model-fields.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ I want to access and display model fields in the Gantt Timeline Tooltip. In the
2727

2828
You have two options to display the other fields form you model in the Tooltip:
2929

30-
* [Get the Model from Your Data Based on the Context Properties](#get-the-model-from-your-data-based-on-the-context-properties)
31-
* [Use a custom Tooltip](#use-a-custom-tooltip)
30+
* [Get the Gantt Data Item From Context Properties](#get-the-gantt-data-item-from-context-properties)
31+
* [Use a Separate Tooltip Component](#use-a-separate-tooltip-component)
3232

3333

3434
### Get the Gantt Data Item From Context Properties
@@ -157,6 +157,8 @@ This solution relies on disabling the built-in Tooltip and adding a custom one,
157157
1. Set the Tooltip's [`TargetSelector`]({%slug tooltip-overview%}#tooltip-parameters) to point to the task wrapper unique `id`.
158158
1. Access the model from the `context` of the `TaskTemplate` and get the needed properties to display in the Tooltip.
159159

160+
> This approach renders a dedicated Tooltip for each task. This makes it useful if you don't have too many tasks - otherwise, you may face performance issues. In this case, either use the [above approach](#get-the-gantt-data-item-from-context-properties) or [add only one Tooltip instance as shown here]({%slug tooltip-kb-in-grid%}).
161+
160162
>caption Use a custom Tooltip component
161163
162164
````CSHTML

0 commit comments

Comments
 (0)