mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Fixed #5212 - DataTable: improve globalFilterFields type
This commit is contained in:
parent
9a3c5fa75c
commit
550ee31aa9
1 changed files with 2 additions and 2 deletions
4
components/lib/datatable/DataTable.d.ts
vendored
4
components/lib/datatable/DataTable.d.ts
vendored
|
@ -943,9 +943,9 @@ export interface DataTableProps {
|
||||||
*/
|
*/
|
||||||
filterDisplay?: 'menu' | 'row' | undefined;
|
filterDisplay?: 'menu' | 'row' | undefined;
|
||||||
/**
|
/**
|
||||||
* Fields for global filter
|
* An array of fields as string or function to use in global filtering.
|
||||||
*/
|
*/
|
||||||
globalFilterFields?: string[] | undefined;
|
globalFilterFields?: (string | ((data: any) => string))[] | undefined;
|
||||||
/**
|
/**
|
||||||
* Locale to use in filtering. The default locale is the host environment's current locale.
|
* Locale to use in filtering. The default locale is the host environment's current locale.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue