From ef4c533ebacc2cdc97e518f30e9a9350004fcdfb Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 28 Apr 2025 02:13:30 +0000
Subject: ~20250428 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../client-data-table/data-table-toolbar.tsx       | 25 ----------------------
 1 file changed, 25 deletions(-)

(limited to 'components/client-data-table/data-table-toolbar.tsx')

diff --git a/components/client-data-table/data-table-toolbar.tsx b/components/client-data-table/data-table-toolbar.tsx
index 286cffd6..6c246c1a 100644
--- a/components/client-data-table/data-table-toolbar.tsx
+++ b/components/client-data-table/data-table-toolbar.tsx
@@ -33,24 +33,6 @@ export function ClientDataTableAdvancedToolbar<TData>({
   ...props
 }: DataTableAdvancedToolbarProps<TData>) {
 
-  // 전체 엑셀 내보내기
-  const handleExportAll = async () => {
-    try {
-      await exportTableToExcel(table, {
-        filename: "my-data",
-        onlySelected: false,
-        excludeColumns: ["select", "actions", "validation", "requestedAmount", "update"],
-        useGroupHeader: false,
-        allPages: true,
-
-      })
-    } catch (err) {
-      console.error("Export error:", err)
-      // 필요하면 토스트나 알림 처리
-    }
-  }
-
-
 
   return (
     <div
@@ -69,13 +51,6 @@ export function ClientDataTableAdvancedToolbar<TData>({
         <ClientDataTableSortList table={table} />
         <ClientDataTableViewOptions table={table} />
         <ClientDataTableGroupList table={table}/>
-        <Button variant="outline" size="sm" onClick={handleExportAll}>
-          <Download className="size-4" />
-          {/* i18n 버튼 문구 */}
-          <span className="hidden sm:inline">
-            {"Export All" }
-          </span>
-        </Button>
       </div>
 
       {/* 오른쪽: Export 버튼 + children */}
-- 
cgit v1.2.3

