Skip to content

Commit cddc3b1

Browse files
committed
chore(Gantt): link fix
1 parent d91fa36 commit cddc3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

2828
The `TooltipTemplate` context .... . If you want to accsess and dispaly the other fields form you model, you have two options:
2929

30-
* [Get the model from your data based on the `Title`](#get-the-model-from-your-data-based-on-the-context-properties)
30+
* [Get the Model from Your Data Based on the Context Properties](#get-the-model-from-your-data-based-on-the-context-properties)
3131
* [Use a custom Tooltip](#use-a-custom-tooltip)
3232

3333

3434
### Get the Model from Your Data Based on the Context Properties
3535

36-
This solution relies on finding the task item in your data based on the properties that the `TooltipTemplateContext`. The approach is applicable only if all items in your data have unique values for these properties and the application that hosts the Gantt is not a multi-language one.
36+
This solution relies on finding the task item in your data based on the properties that the `TooltipTemplateContext` provides. The approach is applicable only if all items in your data have unique values for these properties and the application that hosts the Gantt is not a multi-language one.
3737

3838
1. Cast the [`TooltipTemplate`]({%slug gantt-tooltip-template%}) `context` to `TooltipTemplateContext`.
3939
2. Use the [available properties of the `TooltipTemplateContext`](https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.TooltipTemplateContext) to find the data item in the Gantt data collection. The example below uses the `Title` property.

0 commit comments

Comments
 (0)