Usage
Signature:
interface TextFilterDef
Generic Parameters
Parameter Description D Type of Data
Typescript Import Format
//To use this interface, import as below.
import {TextFilterDef} from "ojs/ojdataprovider";
For additional information visit:
Fields
-
text :string
-
Specifies the text to filter for. It is up to the DataProvider implementation to decide which attributes to apply the filter to and also the exact filtering logic used, such as case insensitivity, etc. In addition, for attributes which contain non-string values, the type coercion rule expected is to call toString() on that value. If the value is an object which does not have a string representation then the value does not satisfy the filter.
- Since:
- 8.0.0
Example
Filter definition which filters on the text 'abc search'
{text: 'abc search'}