You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/scheduler/templates/resource-grouping-header.md
+27-13Lines changed: 27 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ You can use the `SchedulerResourceGroupHeaderTemplate` to customize the renderin
15
15
The `SchedulerResourceGroupHeaderTemplate`:
16
16
* Is invoked for each resource when the Scheduler is configured to have resources and grouping.
17
17
* Applies in both horizontal and vertical grouping.
18
-
* Can be defined at the root level of the Scheduler and individually for each [Scheduler views]({%slug scheduler-views-overview%}). When configured at the root, the template applies to all views. If a `SchedulerResourceGroupHeaderTemplate` is defined at the view level, it will override the root-level template for that specific view.
18
+
* Can be defined individually for each [Scheduler view]({%slug scheduler-views-overview%}).
19
19
20
20
The `context` of the template is a `SchedulerResourceGroupHeaderTemplateContext` object that contains:
21
21
@@ -32,14 +32,6 @@ The `context` of the template is a `SchedulerResourceGroupHeaderTemplateContext`
32
32
@bind-Date="@StartDate"
33
33
Height="600px"
34
34
Width="900px">
35
-
<SchedulerResourceGroupHeaderTemplate>
36
-
Text: @context.Text
37
-
<br />
38
-
Value: @context.Value
39
-
<br />
40
-
Field: @context.Field
41
-
<br />
42
-
</SchedulerResourceGroupHeaderTemplate>
43
35
<SchedulerViews>
44
36
<SchedulerDayView StartTime="@DayStart">
45
37
<SchedulerResourceGroupHeaderTemplate>
@@ -62,9 +54,23 @@ The `context` of the template is a `SchedulerResourceGroupHeaderTemplateContext`
0 commit comments