fields property

List<FilterField> get fields

A list of filter fields to be applied to the data set.

The list may be empty, but it will never be null.

Each filter field in the list provides a set of operations to be applied to a specific field in the data set.

The operations are:

  • equal: Matches the specified value.
  • notEqual: Excludes the specified value.
  • greater: Matches values greater than the specified value.
  • greaterEqual: Matches values greater than or equal to the specified value.
  • less: Matches values less than the specified value.
  • lessEqual: Matches values less than or equal to the specified value.
  • startWith: Matches values that start with the specified value.
  • notStartWith: Excludes values that start with the specified value.
  • endWith: Matches values that end with the specified value.
  • notEndWith: Excludes values that end with the specified value.
  • contain: Matches values that contain the specified value.
  • notContain: Excludes values that contain the specified value.
  • inList: Matches values in the specified list.
  • notInList: Excludes values in the specified list.
  • search: Matches values that contain the specified value in any part of the field.

The field name is defined by the name property of each filter field.

The specific operations available depend on the type of the field. For example, the string type supports equal, notEqual, contain, notContain, startWith, notStartWith, endWith, notEndWith, and search.

The inList and notInList operations are available for fields of type int, double, guid, and string.

The greater, greaterEqual, less, and lessEqual operations are available for fields of type int, double, and date.

Implementation

List<FilterField> get fields;