From fdab61148bed8d96a83c6db7e7829c62c9221ccd Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 10 Oct 2025 11:55:49 +0900 Subject: (김준회) style: nested header의 좌, 우에 border 처리 fix: AVL 테이블에 요구사항대로 중첩헤더 추가 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/avl/table/avl-table-columns.tsx | 110 +++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 52 deletions(-) (limited to 'lib/avl/table/avl-table-columns.tsx') diff --git a/lib/avl/table/avl-table-columns.tsx b/lib/avl/table/avl-table-columns.tsx index 06005d3d..aaa9a18b 100644 --- a/lib/avl/table/avl-table-columns.tsx +++ b/lib/avl/table/avl-table-columns.tsx @@ -187,59 +187,65 @@ export function getColumns({ selectedRows = [], onRowSelect }: GetColumnsProps): enableResizing: true, size: 100, }, - // PKG 컬럼 + // 등록정보 (건수) 그룹 컬럼 { - accessorKey: "PKG", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 80, - }, - // 자재그룹 컬럼 - { - accessorKey: "materialGroup", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 100, - }, - // 협력업체 컬럼 - { - accessorKey: "vendor", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 100, - }, - // Tier 컬럼 - { - accessorKey: "Tier", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 60, - }, - // 선주 제안 컬럼 - { - accessorKey: "ownerSuggestion", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 100, - }, - // SHI 제안 컬럼 - { - accessorKey: "shiSuggestion", - header: ({ column }) => ( - - ), - enableResizing: true, - size: 100, + header: "등록정보 (건수)", + columns: [ + // PKG 컬럼 + { + accessorKey: "PKG", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 80, + }, + // 자재그룹 컬럼 + { + accessorKey: "materialGroup", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 100, + }, + // 협력업체 컬럼 + { + accessorKey: "vendor", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 100, + }, + // Tier 컬럼 + { + accessorKey: "Tier", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 60, + }, + // 선주 제안 컬럼 + { + accessorKey: "ownerSuggestion", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 100, + }, + // SHI 제안 컬럼 + { + accessorKey: "shiSuggestion", + header: ({ column }) => ( + + ), + enableResizing: true, + size: 100, + }, + ], }, // 등록일 컬럼 { -- cgit v1.2.3