Class GanttSortSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GanttSortSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Gantt
Assembly: Syncfusion.AspNetMvc.Gantt.dll
Syntax
public class GanttSortSettingsBuilder : ControlBuilder
Constructors
GanttSortSettingsBuilder()
Declaration
public GanttSortSettingsBuilder()
GanttSortSettingsBuilder(GanttSortSettings)
Declaration
public GanttSortSettingsBuilder(GanttSortSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| GanttSortSettings | model |
Methods
AllowUnsort(Boolean)
If allowUnsort set to false, the user can not get the Tree grid in unsorted state by clicking the sorted column header.
Declaration
public GanttSortSettingsBuilder AllowUnsort(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| GanttSortSettingsBuilder |
Columns(Action<GanttSortDescriptorBuilder>)
Declaration
public GanttSortSettingsBuilder Columns(Action<GanttSortDescriptorBuilder> columns)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<GanttSortDescriptorBuilder> | columns |
Returns
| Type |
|---|
| GanttSortSettingsBuilder |
Columns(List<GanttSortDescriptor>)
Specifies the columns to sort by when the Gantt chart is initially rendered. It also allows access to the currently sorted columns.
Declaration
public GanttSortSettingsBuilder Columns(List<GanttSortDescriptor> value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<GanttSortDescriptor> | value |
Returns
| Type |
|---|
| GanttSortSettingsBuilder |