Defines the fluent API for configuring the TreeListColumnFilterableCellSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListColumnFilterableCellSettingsBuilder<T> where T : class
Inheritance: objectTreeListColumnFilterableCellSettingsBuilder<T>
Inherited Members
Constructors
Initialize the TreeListColumnFilterableCellSettingsBuilder
public TreeListColumnFilterableCellSettingsBuilder(TreeListColumnFilterableCellSettings settings, ViewContext viewContext, IUrlGenerator urlGenerator)
The TreeListColumnFilterableCellSettings
viewContextViewContexturlGeneratorIUrlGeneratorMethods
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 component will use that instance and will not initialize a new one.
public TreeListColumnFilterableCellSettingsBuilder<T> DataSource(Action<ReadOnlyDataSourceBuilder> configurator)
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.
public TreeListColumnFilterableCellSettingsBuilder<T> DataTextField(string value)
The value that configures the datatextfield.
Returns:Specifies the delay of the AutoComplete component which will provide the suggest functionality (when using String type column).
public TreeListColumnFilterableCellSettingsBuilder<T> Delay(double value)
The value that configures the delay.
Returns:When set to false the TreeList will not render the cell filtering component for that specific column.
public TreeListColumnFilterableCellSettingsBuilder<T> Enabled(bool value)
The value that configures the enabled.
Returns:Specifies the width of the input before it is initialized or turned into a component. Provides convenient way to set the width according to the column width.
public TreeListColumnFilterableCellSettingsBuilder<T> InputWidth(double value)
The value that configures the inputwidth.
Returns:Specifies the minLength option of the AutoComplete component when column is of type string.
public TreeListColumnFilterableCellSettingsBuilder<T> MinLength(double value)
The value that configures the minlength.
Returns:Specifies the default operator that will be used for the cell filtering.
public TreeListColumnFilterableCellSettingsBuilder<T> Operator(string value)
The value that configures the operator.
Returns:Specifies whether to show or hide the DropDownList with the operators.
public TreeListColumnFilterableCellSettingsBuilder<T> ShowOperators(bool value)
The value that configures the showoperators.
Returns: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.
public TreeListColumnFilterableCellSettingsBuilder<T> SuggestionOperator(string value)
The value that configures the suggestionoperator.
Returns:Configures the cell filter template
public TreeListColumnFilterableCellSettingsBuilder<T> Template(string value)
The value that configures the template.
Returns: