Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing type definition for column in DataTable.d.ts and TreeTable.d.ts #1913

Merged
merged 6 commits into from
Mar 29, 2021
2 changes: 1 addition & 1 deletion src/components/datatable/DataTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ interface DataTableProps {
rowClassName?(rowData: any): object;
rowGroupHeaderTemplate?(data: any, index: number): React.ReactNode | undefined;
rowGroupFooterTemplate?(data: any, index: number): React.ReactNode | undefined;
onColumnResizeEnd?(e: {element: HTMLElement, delta: number}): void;
onColumnResizeEnd?(e: {element: HTMLElement, column: any, delta: number}): void;
onSort?(e: {sortField: string, sortOrder: number, multiSortMeta: any}): void;
onPage?(e: {first: number, rows: number}): void;
onFilter?(e: {filters: any}): void;
Expand Down
2 changes: 1 addition & 1 deletion src/components/treetable/TreeTable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ interface TreeTableProps {
onRowClick?(e: {originalEvent: Event, node: TreeNode}): void;
onSelectionChange?(e: {originalEvent: Event, value: any}): void;
onContextMenuSelectionChange?(e: {originalEvent: Event, value: any}): void;
onColumnResizeEnd?(e: {element: HTMLElement, delta: number}): void;
onColumnResizeEnd?(e: {element: HTMLElement, column: any, delta: number}): void;
onColReorder?(e: {dragIndex: number, dropIndex: number, columns: any}): void;
onContextMenu?(e: {originalEvent: Event, node: any}): void;
}
Expand Down