FilterExpression

OrderIDProductNameUnitPriceQuantityDiscountTotal Amount
10248Queso Cabrales14120 $168.0
10248Singaporean Hokkien Fried Mee9.8100 $98.0
10248Mozzarella di Giovanni34.850 $174.0
10249Manjimup Dried Apples42.4400 $1,696.0
10249Tofu18.690 $167.4
10250Manjimup Dried Apples42.4350.15 $1,261.4
10250Jack's New England Clam Chowder7.7100 $77.0
10250Louisiana Fiery Hot Pepper Sauce16.8150.15 $214.2
10251Louisiana Fiery Hot Pepper Sauce16.8200 $336.0
10251Gustaf's Knäckebröd16.860.05 $95.8


Description

The C1GridView now supports filtering by FilterExpression in C1TemplateField in the grid.

  • doFilter - This is the client-side method. It works with two parameters - headerText and filterExpression.
  • OnFiltering - This is the server-side event. End-users can implement their own customized filtering logic in this event.

In this sample, customized filtering process that use FilterExpression is implemented in ApplyFilterExpression() method. This code is to be executed in corresponding server-side event of user action (like Filtering, Sorting, Paging, etc).

Documentation