diff options
| author | 0-Zz-ang <s1998319@gmail.com> | 2025-08-25 09:23:30 +0900 |
|---|---|---|
| committer | 0-Zz-ang <s1998319@gmail.com> | 2025-08-25 09:23:30 +0900 |
| commit | b12a06766e32e3c76544b1d12bec91653e1fe9db (patch) | |
| tree | 57ca1ddff3342677d132e07b78fc03873a960255 /lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx | |
| parent | d38877eef87917087a4a217bea32ae84d6738a7d (diff) | |
docu-list-rule페이지 수정
Diffstat (limited to 'lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx')
| -rw-r--r-- | lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx index 17754331..cf770c33 100644 --- a/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx +++ b/lib/docu-list-rule/combo-box-settings/table/combo-box-options-table-columns.tsx @@ -25,6 +25,7 @@ interface ComboBoxOption { code: string description: string remark: string | null + sdq: number isActive?: boolean createdAt: Date updatedAt: Date @@ -114,17 +115,17 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<ComboBo // ---------------------------------------------------------------- const dataColumns: ColumnDef<ComboBoxOption>[] = [ { - accessorKey: "projectCode", + accessorKey: "sdq", enableResizing: true, header: ({ column }) => ( - <DataTableColumnHeaderSimple column={column} title="프로젝트 코드" /> + <DataTableColumnHeaderSimple column={column} title="순서" /> ), meta: { - excelHeader: "프로젝트 코드", - type: "text", + excelHeader: "순서", + type: "number", }, - cell: ({ row }) => row.getValue("projectCode") ?? "", - minSize: 120 + cell: ({ row }) => row.getValue("sdq") ?? "", + minSize: 50 }, { accessorKey: "code", |
