Skip to content
Snippets Groups Projects
Commit 0839df18 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

feat: change order and default sort

parent a9f9bc6d
No related branches found
No related tags found
6 merge requests!96Deploy OpenShift v2,!95MEP fix liens undefined,!91MEP: removed Meilisearch,!79Fix: nginx unprivileged image,!77Back-office SGE before canary release,!68feat: change order and default sort
Pipeline #43068 passed
This commit is part of merge request !79. Comments created here will be created in the context of that merge request.
......@@ -64,6 +64,20 @@ const Consents: React.FC = () => {
filter: true,
checkboxSelection: true,
},
{
field: 'lastname',
headerName: 'Nom',
initialWidth: 180,
filter: true,
cellStyle: { textTransform: 'uppercase' },
},
{
field: 'firstname',
headerName: 'Prénom',
initialWidth: 180,
filter: true,
cellStyle: { textTransform: 'capitalize' },
},
{
field: 'address',
headerName: 'Adresse',
......@@ -71,31 +85,24 @@ const Consents: React.FC = () => {
filter: true,
flex: 1,
},
{
field: 'postalCode',
headerName: 'CP',
initialWidth: 100,
filter: true,
},
{
field: 'startDate',
headerName: 'Début du consentement',
initialWidth: 200,
initialWidth: 150,
filter: true,
sort: 'desc',
},
{
field: 'endDate',
headerName: 'Fin du consentement',
initialWidth: 200,
filter: true,
},
{
field: 'lastname',
headerName: 'Nom',
initialWidth: 200,
filter: true,
cellStyle: { 'text-transform': 'uppercase' },
},
{
field: 'firstname',
headerName: 'Prénom',
initialWidth: 200,
initialWidth: 150,
filter: true,
cellStyle: { 'text-transform': 'capitalize' },
},
])
const handleChangePage = useCallback(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment