New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring TreeListColumnSortableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListColumnSortableSettingsBuilder<T> where T : class

Inheritance: objectTreeListColumnSortableSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the TreeListColumnSortableSettingsBuilder<T> class.

C#
public TreeListColumnSortableSettingsBuilder(TreeListColumnSortableSettings<T> container)
Parameters:containerTreeListColumnSortableSettings<T>

The TreeListColumnSortableSettingsBuilder container.

Properties

Gets the container of the TreeListColumnSortableSettingsBuilder

C#
protected TreeListColumnSortableSettings<T> Container { get; }

Methods

A JavaScript function for comparing the values. If the first argument is less than the second one, returns -1.; If both arguments are the same, returns 0. or If the first argument is greater than the second one, returns +1..

C#
public TreeListColumnSortableSettingsBuilder<T> Compare(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TreeListColumnSortableSettingsBuilder<T>

Returns the current TreeListColumnSortableSettingsBuilder<T> instance.

A JavaScript function for comparing the values. If the first argument is less than the second one, returns -1.; If both arguments are the same, returns 0. or If the first argument is greater than the second one, returns +1..

C#
public TreeListColumnSortableSettingsBuilder<T> Compare(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

TreeListColumnSortableSettingsBuilder<T>

Returns the current TreeListColumnSortableSettingsBuilder<T> instance.