From ad94d7a99919118b429d4e2e503f85ad94373733 Mon Sep 17 00:00:00 2001 From: melloware Date: Wed, 14 Aug 2024 08:18:34 -0400 Subject: [PATCH] Fix #7046: TreeTable typescript for PT row/column --- components/lib/treetable/treetable.d.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/components/lib/treetable/treetable.d.ts b/components/lib/treetable/treetable.d.ts index 4e28640577..560965101d 100644 --- a/components/lib/treetable/treetable.d.ts +++ b/components/lib/treetable/treetable.d.ts @@ -9,11 +9,13 @@ */ import * as React from 'react'; import { CSSProperties } from 'react'; -import { Column } from '../column'; +import { Column, ColumnPassThroughOptions } from '../column'; import { ComponentHooks } from '../componentbase/componentbase'; import { InputTextPassThroughOptions } from '../inputtext/inputtext'; import { PaginatorPassThroughOptions, PaginatorTemplate } from '../paginator'; import { PassThroughOptions } from '../passthrough'; +import { RowPassThroughOptions } from '../row/row'; +import { TooltipPassThroughOptions } from '../tooltip/tooltip'; import { TreeNode } from '../treenode'; import { IconType, PassThroughType } from '../utils/utils'; @@ -211,6 +213,19 @@ export interface TreeTablePassThroughOptions { * Uses to pass attributes to the hidden input's DOM element. */ hiddenInput?: TreeTablePassThroughType>; + /** + * Used to pass attributes to the Row helper components. + */ + row?: RowPassThroughOptions; + /** + * Used to pass attributes to the Column helper components. + */ + column?: ColumnPassThroughOptions; + /** + * Uses to pass attributes tooltip's DOM element. + * @type {TooltipPassThroughOptions} + */ + tooltip?: TooltipPassThroughOptions; /** * Used to manage all lifecycle hooks * @see {@link ComponentHooks}