add created at column
This commit is contained in:
parent
a159eedbd4
commit
238a54e1d6
@ -73,6 +73,18 @@ export const loadColumns = async (
|
||||
|
||||
editable: hasUpdatePermission,
|
||||
},
|
||||
{
|
||||
field: 'createdAt',
|
||||
headerName: 'Created At',
|
||||
flex: 1,
|
||||
minWidth: 120,
|
||||
filterable: false,
|
||||
headerClassName: 'datagrid--header',
|
||||
cellClassName: 'datagrid--cell',
|
||||
valueFormatter: ({ value }) => new Date(value).toLocaleString(),
|
||||
editable: false,
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
field: 'courses',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user