diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 345220b5ce..974aad610f 100644 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -64,7 +64,7 @@ interface DataTableProps { rowGroupMode?: string; autoLayout?:boolean; rowClassName?(rowData: any): object; - rowGroupHeaderTemplate?(data: any): void; + rowGroupHeaderTemplate?(data: any, index: number): void; rowGroupFooterTemplate?(data: any, index: number): void; groupField?: string; loading?:boolean;