GanttColumnBuilder<T>.SortingMethod(String) Method
In This Article
Specifies a custom comparison function for sorting. Applies only when sorting is performed on the client. Mirrors the client-side sortingMethod object.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public GanttColumnBuilder<T> SortingMethod(
string jsFunc
)
#Parameters
Name | Type | Description |
---|---|---|
js |
String | The option value. |
#Returns
Type | Description |
---|---|
Gantt |
A reference to this instance after the method is called. |
#Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Gantt()
.Columns(columns => {
columns.Add().SortingMethod("my_method");
})
)
See Also