update readme
This commit is contained in:
parent
514048dde1
commit
1520e8a74e
@ -384,8 +384,11 @@ Filter operators must be whitelisted per column in `PaginateConfig`.
|
|||||||
const config: PaginateConfig<CatEntity> = {
|
const config: PaginateConfig<CatEntity> = {
|
||||||
// ...
|
// ...
|
||||||
filterableColumns: {
|
filterableColumns: {
|
||||||
id: [FilterOperator.EQ, FilterSuffix.NOT], // Enable individual operators
|
// Enable individual operators
|
||||||
age: true, // Enable all operators on a single column
|
id: [FilterOperator.EQ, FilterSuffix.NOT],
|
||||||
|
|
||||||
|
// Enable all operators on a single column
|
||||||
|
age: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user