From 2619ae5b4e5bea34229e18a53f543d43981d5346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 6 Sep 2023 14:26:20 +0300 Subject: [PATCH] Fixed #4398 - Column: rowtogglericon slot does not expose p-row-toggler-icon class --- components/lib/column/Column.d.ts | 4 ++++ components/lib/datatable/BodyCell.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index b851eac43..f2ed27f29 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -892,6 +892,10 @@ export interface ColumnSlots { * @param {Object} scope - row toggler icon slot's params. */ rowtogglericon(scope: { + /** + * Style class of the row toggler icon. + */ + class: string; /** * Current row expanded state. */ diff --git a/components/lib/datatable/BodyCell.vue b/components/lib/datatable/BodyCell.vue index ba1a924e8..362da1760 100755 --- a/components/lib/datatable/BodyCell.vue +++ b/components/lib/datatable/BodyCell.vue @@ -63,7 +63,7 @@ v-bind="getColumnPT('rowToggler')" data-pc-group-section="rowactionbutton" > - +