Class ScheduleHeaderRowBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ScheduleHeaderRowBuilder
Namespace: Syncfusion.EJ2.Schedule
Assembly: Syncfusion.EJ2.dll
Syntax
public class ScheduleHeaderRowBuilder : ControlBuilder
Constructors
ScheduleHeaderRowBuilder()
Declaration
public ScheduleHeaderRowBuilder()
ScheduleHeaderRowBuilder(List<ScheduleHeaderRow>)
Declaration
public ScheduleHeaderRowBuilder(List<ScheduleHeaderRow> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ScheduleHeaderRow> | collection |
Methods
Add()
Declaration
public void Add()
Option(HeaderRowType)
It defines the header row type, which accepts either of the following values.
Year
: Denotes the year row in the header bar.
Month
: Denotes the month row in the header bar.
Week
: Denotes the week row in the header bar.
Date
: Denotes the date row in the header bar.
Hour
: Denotes the hour row in the header bar.
Declaration
public ScheduleHeaderRowBuilder Option(HeaderRowType option)
Parameters
Type | Name | Description |
---|---|---|
HeaderRowType | option |
Returns
Template(String)
Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
content and parse it appropriately before displaying it onto the header cells. The field that
can be accessed via this template is date
.
Declaration
public ScheduleHeaderRowBuilder Template(string template)
Parameters
Type | Name | Description |
---|---|---|
System.String | template |