diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-28 02:13:30 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-04-28 02:13:30 +0000 |
| commit | ef4c533ebacc2cdc97e518f30e9a9350004fcdfb (patch) | |
| tree | 345251a3ed0f4429716fa5edaa31024d8f4cb560 /components/client-data-table/data-table-toolbar.tsx | |
| parent | 9ceed79cf32c896f8a998399bf1b296506b2cd4a (diff) | |
~20250428 작업사항
Diffstat (limited to 'components/client-data-table/data-table-toolbar.tsx')
| -rw-r--r-- | components/client-data-table/data-table-toolbar.tsx | 25 |
1 files changed, 0 insertions, 25 deletions
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 */} |
