Class GanttSortSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Gantt
Assembly: Syncfusion.EJ2.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 | Description |
---|---|
GanttSortSettingsBuilder |
Columns(Action<GanttSortDescriptorBuilder>)
Declaration
public GanttSortSettingsBuilder Columns(Action<GanttSortDescriptorBuilder> columns)
Parameters
Type | Name | Description |
---|---|---|
System.Action<GanttSortDescriptorBuilder> | columns |
Returns
Type | Description |
---|---|
GanttSortSettingsBuilder |
Columns(List<GanttSortDescriptor>)
Specifies the columns to sort at initial rendering of Gantt. Also user can get current sorted columns.
Declaration
public GanttSortSettingsBuilder Columns(List<GanttSortDescriptor> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttSortDescriptor> | value |
Returns
Type | Description |
---|---|
GanttSortSettingsBuilder |