diff --git a/components/lib/datatable/datatable.d.ts b/components/lib/datatable/datatable.d.ts index 1adc7c2459..0666ba7d05 100644 --- a/components/lib/datatable/datatable.d.ts +++ b/components/lib/datatable/datatable.d.ts @@ -292,7 +292,7 @@ export interface DataTableProps extends Omit first?: number; footer?: DataTableFooterTemplateType; footerColumnGroup?: React.ReactNode; - frozenValue?: DataTableRowData[]; + frozenValue?: TValue; frozenWidth?: string; globalFilter?: DataTableGlobalFilterType; globalFilterFields?: string[]; @@ -387,7 +387,7 @@ export interface DataTableProps extends Omit onSort?(e: DataTablePFSEvent): void; onStateRestore?(state: object): void; onStateSave?(state: object): void; - onValueChange?(value: any[]): void; + onValueChange?(value: TValue): void; rowClassName?(data: DataTableRowData, options: DataTableRowClassNameOptions): object | string; rowEditValidator?(data: DataTableRowData, options: DataTableRowEditValidatorOptions): boolean; rowExpansionTemplate?(data: DataTableRowData, options: DataTableRowExpansionTemplate): React.ReactNode;