diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index d1b640464..83a57892a 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -128,7 +128,7 @@ export interface DataTableSortMeta { /** * Column field */ - field: string; + field: string | ((item: any) => string) | undefined; /** * Column sort order */