Class ScheduleGroupBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ScheduleGroupBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class ScheduleGroupBuilder : ControlBuilder
Constructors
ScheduleGroupBuilder()
Declaration
public ScheduleGroupBuilder()
ScheduleGroupBuilder(ScheduleGroup)
Declaration
public ScheduleGroupBuilder(ScheduleGroup model)
Parameters
Methods
AllowGroupEdit(Boolean)
Allows creation and editing of linked appointments assigned to multiple resources. When set to true
,
a single appointment object instance will be maintained in schedule dataSource that are created for
multiple resources, whereas displayed individually on UI.
Declaration
public ScheduleGroupBuilder AllowGroupEdit(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
ByDate(Boolean)
When set to true
, groups the resources by date where each day renders all the resource names under it.
Declaration
public ScheduleGroupBuilder ByDate(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
ByGroupID(Boolean)
Decides whether to allow the resource hierarchy to group by ID. It is set to true
by default and when set to false,
all the resources under child collection will be mapped against each available parent.
Declaration
public ScheduleGroupBuilder ByGroupID(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
EnableCompactView(Boolean)
Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to false
,
the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
Declaration
public ScheduleGroupBuilder EnableCompactView(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
can be accessed within this template code.
Declaration
public ScheduleGroupBuilder HeaderTooltipTemplate(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
HideNonWorkingDays(Boolean)
Decides whether to show/hide the non-working days. It is set to false
by default and when set to true
, it hides the non-working days.
This property is applicable for Day
, Week
, WorkWeek
and month
views, which are grouped under date.
Declaration
public ScheduleGroupBuilder HideNonWorkingDays(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Resources(String[])
Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
Declaration
public ScheduleGroupBuilder Resources(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns