diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index 18b17eb1c..95fafbc5a 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -9,6 +9,7 @@ * */ import { VNode } from 'vue'; +import { BadgePassThroughOptions } from '../badge'; import { ComponentHooks } from '../basecomponent'; import { ButtonPassThroughOptions } from '../button'; import { CheckboxPassThroughOptionType } from '../checkbox'; @@ -154,11 +155,11 @@ export interface ColumnPassThroughOptions { */ sortIcon?: ColumnPassThroughOptionType; /** - * Used to pass attributes to the sort badge's DOM element. + * Used to pass attributes to the Badge component. */ - sortBadge?: ColumnPassThroughOptionType; + pcSortBadge?: BadgePassThroughOptions; /** - * Used to pass attributes to the header checkbox's DOM element. + * Used to pass attributes to the Checkbox component. */ pcHeaderCheckbox?: CheckboxPassThroughOptionType; /** diff --git a/components/lib/datatable/HeaderCell.vue b/components/lib/datatable/HeaderCell.vue index c8d01b84d..9f5b0019f 100644 --- a/components/lib/datatable/HeaderCell.vue +++ b/components/lib/datatable/HeaderCell.vue @@ -29,7 +29,7 @@ - {{ getBadgeValue() }} +