TreeListColumnFilterableSettingsBuilder

Methods

Ui(System.Func)

The role data attribute of the component that is used in the filter menu, or a JavaScript function which initializes that component.

Parameters

handler - System.Func<Object,Object>

The value that configures the ui action.

Ui(System.String)

The role data attribute of the component that is used in the filter menu, or a JavaScript function which initializes that component.

Parameters

handler - System.String

The value that configures the ui action.

Cell(System.Action)

Specifies options for the filter header cell when filter mode is set to 'row'.Can be set to a JavaScript object which represents the filter cell configuration.

Parameters

configurator - System.Action<TreeListColumnFilterableCellSettingsBuilder>

The action that configures the cell.

Example

Razor
 
            	@(Html.Kendo().TreeList<UserViewModel>()
            	    .Name("treelist")
                    .Columns(columns =>
            		{
            		    columns.Add()
            		        .Filterable(filterable => filterable
            		            .Cell(c => c.Delay(1500)));
            		})
            		.Filterable(ftb => ftb.Mode("row"))
            	)
             

Operators(System.Action)

Configures the Filter menu operators.

Parameters

configurator - System.Action<FilterableOperatorsBuilder>

The configurator for the filterable setting.

Example

Razor
 
            	@(Html.Kendo().TreeList<UserViewModel>()
            	    .Name("treelist")
                    .Columns(columns =>
            		{
            		    columns.Add()
            		        .Filterable(filterable => filterable
            		            .Operators(ftb => ftb
            		                .ForString(s => s.Contains("Contains")));
            		})
            	)