From b7134cb3e44fec4d8426b094fc263544e9813872 Mon Sep 17 00:00:00 2001 From: mind-one001 Date: Thu, 10 Sep 2026 14:06:24 +0900 Subject: [PATCH] =?UTF-8?q?=EB=85=B8=ED=9B=84=EA=B4=80=EB=A1=9C=ED=98=84?= =?UTF-8?q?=ED=99=A9=20=EA=B7=B8=EB=A6=AC=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ui/standard_data_table/index.tsx | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/packages/common/business_components/src/ui/standard_data_table/index.tsx b/packages/common/business_components/src/ui/standard_data_table/index.tsx index 643d6c06a..3f4d05b8e 100644 --- a/packages/common/business_components/src/ui/standard_data_table/index.tsx +++ b/packages/common/business_components/src/ui/standard_data_table/index.tsx @@ -278,11 +278,34 @@ function StandardDataTableRenderer({ {table.getHeaderGroups().map((headerGroup) => ( {headerGroup.headers.map((header) => { + const columnRelativeDepth = header.depth - header.column.depth; + if ( + !header.isPlaceholder && + columnRelativeDepth > 1 && + header.id === header.column.id + ) { + return null; + } + + let rowSpan = 1; + if (header.isPlaceholder) { + const leafHeaders = header.getLeafHeaders(); + rowSpan = + (leafHeaders[leafHeaders.length - 1]?.depth ?? 0) - + header.depth; + } + const pinned = getPinnedProps(header.column.id); + const isNestedGroupHeader = + !header.isPlaceholder && header.column.columns.length > 0; return (