Skip to content

Commit 84013ff

Browse files
committed
feat(table): column drag-and-drop reorder
1 parent 0c80438 commit 84013ff

File tree

3 files changed

+221
-28
lines changed
  • apps/sim

3 files changed

+221
-28
lines changed

apps/sim/app/api/table/[tableId]/metadata/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const MetadataSchema = z.object({
1313
workspaceId: z.string().min(1, 'Workspace ID is required'),
1414
metadata: z.object({
1515
columnWidths: z.record(z.number().positive()).optional(),
16+
columnOrder: z.array(z.string()).optional(),
1617
}),
1718
})
1819

0 commit comments

Comments
 (0)