Class GanttSortedColumnBuilder
Inheritance
System.Object
GanttSortedColumnBuilder
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.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class GanttSortedColumnBuilder
Constructors
GanttSortedColumnBuilder(GanttSortSettings)
It sets the sorted columns for gantt
Declaration
public GanttSortedColumnBuilder(GanttSortSettings sortOptions)
Parameters
Type | Name | Description |
---|---|---|
GanttSortSettings | sortOptions | It accepts the sort columns detail |
Fields
sortOptions
Declaration
public GanttSortSettings sortOptions
Field Value
Type | Description |
---|---|
GanttSortSettings |
Methods
Add()
It adds the sorted column details.
Declaration
public void Add()
Direction(SortOrder)
It sets the sort direction in Gantt
Declaration
public GanttSortedColumnBuilder Direction(SortOrder direction)
Parameters
Type | Name | Description |
---|---|---|
SortOrder | direction | It accepts the sort order for sorted column |
Returns
Type | Description |
---|---|
GanttSortedColumnBuilder | GanttSortedColumnBuilder |
Field(String)
It sets the field to be sorted in Gantt
Declaration
public GanttSortedColumnBuilder Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | It accepts the string value and set the field for sorted column |
Returns
Type | Description |
---|---|
GanttSortedColumnBuilder | GanttSortedColumnBuilder |