Files
nocodb/packages/nc-gui/components/template/utils.ts
Ramesh Mane 388b9d9590 Nc fix: replace ant design table (#9113)
* fix: replace ant design table

* feat(nc-gui): custom table component

* fix(nc-gui): udpate UIAcl table

* fix(nc-gui): table scrolling issue

* feat(nc-gui): sticky first column of custom table component

* fix(nc-gui): update meta sync ant table with new table

* fix(nc-gui): update import data table

* fix(nc-gui): update import & upload data modal table

* chore(nc-gui): lint

* fix(nc-gui): update all table tab table

* fix(nc-gui): update project members table

* fix(nc-gui): update collaborators list table

* fix(nc-gui): table list search section alignment issue

* fix(nc-gui): collaborators list overflow issue

* fix(nc-gui): small changes

* fix(nc-gui): update project home page tables height

* fix(nc-gui): update oss user table

* fix(nc-gui): small changes

* test(nc-gui): update ant table related test cases

* test(nc-gui): update oss user list test cases

* chore(nc-gui): lint

* chore(nc-gui): cleanup unused css

* fix(nc-gui): add missing invite team image state

* fix(nc-gui): user management test fail issue

* fix(test): oss user management test fails issue

* fix(nc-gui): some pr review changes

* fix(nc-gui): handle empty object entries destructuring case

* fix(nc-gui): pr review changes

* fix(nc-gui): disable ui acl header checkbox is list is empty

* fix(nc-gui): update oss user management pw test

---------

Co-authored-by: Pranav C <pranavxc@gmail.com>
2024-08-01 20:52:29 +05:30

56 lines
1.0 KiB
TypeScript

export const tableColumns: NcTableColumnProps[] = [
{
title: 'Column Name',
name: 'Column Name',
dataIndex: 'column_name',
key: 'column_name',
minWidth: 200,
padding: '0px 12px',
},
{
title: 'Column Type',
name: 'Column Type',
dataIndex: 'column_type',
key: 'uidt',
minWidth: 200,
padding: '0px 12px',
},
// {
// name: 'Select Option',
// key: 'dtxp',
// },
{
title: '',
name: 'Action',
key: 'action',
width: 60,
minWidth: 60,
padding: '0px 12px',
},
]
export const srcDestMappingColumns: NcTableColumnProps[] = [
{
title: 'Source column',
dataIndex: 'source_column',
key: 'source_column',
minWidth: 200,
padding: '0px 12px',
},
{
title: 'Destination column',
dataIndex: 'destination_column',
key: 'destination_column',
minWidth: 200,
padding: '0px 12px',
},
{
title: 'Action',
key: 'action',
justify: 'justify-center',
width: 60,
minWidth: 60,
padding: '0px 12px',
},
]