New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.Fluent.TreeListColumnFilterableCellSettingsBuilder

Defines the fluent API for configuring the TreeListColumnFilterableCellSettings settings.

Methods

DataTextField(System.String)

Specifies the name of the field which will provide the text representation for the AutoComplete suggestion (when using String type column) when CustomDataSource is provided. By default the name of the field bound to the column will be used.

Parameters

value System.String

The value that configures the datatextfield.

Delay(System.Double)

Specifies the delay of the AutoComplete widget which will provide the suggest functionality (when using String type column).

Parameters

value System.Double

The value that configures the delay.

InputWidth(System.Double)

Specifies the width of the input before it is initialized or turned into a widget. Provides convenient way to set the width according to the column width.

Parameters

value System.Double

The value that configures the inputwidth.

SuggestionOperator(System.String)

Specifies the AutoComplete filter option. The possible values are the same as the ones for the AutoComplete filter option - "startswith", "endswith", "contains". The "contains" operator performs a case-insensitive search. To perform a case-sensitive filtering, set a custom filtering function through the dataSource.filter.operator option.

Parameters

value System.String

The value that configures the suggestionoperator.

MinLength(System.Double)

Specifies the minLength option of the AutoComplete widget when column is of type string.

Parameters

value System.Double

The value that configures the minlength.

Enabled(System.Boolean)

When set to false the TreeList will not render the cell filtering widget for that specific column.

Parameters

value System.Boolean

The value that configures the enabled.

Operator(System.String)

Specifies the default operator that will be used for the cell filtering.

Parameters

value System.String

The value that configures the operator.

ShowOperators(System.Boolean)

Specifies whether to show or hide the DropDownList with the operators.

Parameters

value System.Boolean

The value that configures the showoperators.

Template(System.String)

JavaScript function which will customize how the input for the filter value is rendered. The function receives an object argument with two fields: element - the default input inside the filter cell; or dataSource - a Kendo UI DataSource instance, which has the same settings as the TreeList dataSource, but will only contain data items with unique values for the current column. This instance is also used by the default AutoComplete widget, which is used inside the filter cell if no template is set. Keep in mind that the passed dataSource instance may still not be populated at the time the template function is called, if the TreeList uses remote binding..

Parameters

value System.String

The value that configures the template.

DataSource(System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyDataSourceBuilder>)

Specifies a custom dataSource for the AutoComplete when the type of the column is string. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array, or an existing kendo.data.DataSource instance.It is not recommended that you use the same dataSource instance for the TreeList and the AutoComplete because it causes negative side effects.If the dataSource options is missing, a new cloned instance of the TreeList's dataSource will be used.If the dataSource option is an existing kendo.data.DataSource instance, the widget will use that instance and will not initialize a new one.

Parameters

value System.Action<Kendo.Mvc.UI.Fluent.ReadOnlyDataSourceBuilder>

The value that configures the datasource.

In this article
Not finding the help you need?