From 35c0104b36601f1ee7235baaeb177a1cd03cb9f4 Mon Sep 17 00:00:00 2001 From: Amir Ashkan Baghdoust Date: Wed, 6 Nov 2024 14:15:13 +0100 Subject: [PATCH] feat(data-grid): add part attributes for scrollable container and title block --- packages/components/src/components/data-grid/data-grid.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/components/src/components/data-grid/data-grid.tsx b/packages/components/src/components/data-grid/data-grid.tsx index 597b61e331..d4637a8ec1 100644 --- a/packages/components/src/components/data-grid/data-grid.tsx +++ b/packages/components/src/components/data-grid/data-grid.tsx @@ -956,6 +956,7 @@ export class DataGrid {
(this.elScrollContainer = el)} class={`${name}__scroll-container`} + part="scrollable" style={{ height: this.height || 'auto' }} onScroll={() => this.onTableScroll()} > @@ -1393,7 +1394,7 @@ export class DataGrid { > {this.styles && }
-
+
{/* h4 tag + h5 styles feels weird, ideally one should be able to set the tag with an attribute */} {this.heading && (

{this.heading}