Fixed #5212 - DataTable: improve globalFilterFields type

pull/5456/head
tugcekucukoglu 2024-03-19 14:02:25 +03:00
parent 9a3c5fa75c
commit 550ee31aa9
1 changed files with 2 additions and 2 deletions

View File

@ -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.
*/ */