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

SpreadsheetSheetFilterSettingsColumnCriteriaBuilder

Methods

Value(System.String)

The value for the criteria operator.

Parameters

value - System.String

The value that configures the value.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Sheets(sheets =>
                        {
                            sheets.Add()
                                .Name("Food Order")
                                .Filter(filter => 
                                    filter.Columns(col => 
                                        col.CustomFilter(cf => 
                                            cf.Criteria(criteria => 
                                                criteria.Add(cr => 
                                                    cr.Value("food"))))));
                        })
            )

Value(System.DateTime)

The value for the criteria operator.

Parameters

value - System.DateTime

The value that configures the value.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Sheets(sheets =>
                        {
                            sheets.Add()
                                .Name("Food Order")
                                .Filter(filter => 
                                    filter.Columns(col => 
                                        col.CustomFilter(cf => 
                                            cf.Criteria(criteria => 
                                                criteria.Add(cr => 
                                                    cr.Value(new DateTime(2024, 4, 16)))))));
                        })
            )

Value(System.Double)

The value for the criteria operator.

Parameters

value - System.Double

The value that configures the value.

Example


             @( Html.Kendo().Spreadsheet()
                        .Name("spreadsheet")
                        .Sheets(sheets =>
                        {
                            sheets.Add()
                                .Name("Food Order")
                                .Filter(filter => 
                                    filter.Columns(col => 
                                        col.CustomFilter(cf => 
                                            cf.Criteria(criteria => 
                                                criteria.Add(cr => 
                                                    cr.Value(110))))));
                        })
            )

Operator(Kendo.Mvc.UI.SpreadsheetFilterOperator)

The criterion operator type.

Parameters

value - SpreadsheetFilterOperator

The value for Operator

In this article
Not finding the help you need?