diff --git a/src/components/Grid/GridTable.tsx b/src/components/Grid/GridTable.tsx index 6b9b54a..2616ffb 100644 --- a/src/components/Grid/GridTable.tsx +++ b/src/components/Grid/GridTable.tsx @@ -105,6 +105,7 @@ export const GridTable: GridTableWithRef = forwardRef(function AgGridToolbar ({ diff --git a/src/pages/common/table-selection.tsx b/src/pages/common/table-selection.tsx index c6ee6d9..564a2d1 100644 --- a/src/pages/common/table-selection.tsx +++ b/src/pages/common/table-selection.tsx @@ -44,7 +44,7 @@ const TableSelection: FunctionComponent = (props) => { { field: 'id', filter: true, - sortable: true, + initialSort: 'asc', tooltipField: 'id', flex: 1, }, @@ -86,6 +86,7 @@ const TableSelection: FunctionComponent = (props) => { getRowId={getRowId} onSelectionChanged={handleEquipmentSelectionChanged} onGridReady={onGridReady} + accentedSort={true} /> diff --git a/src/pages/profiles/profiles-table.tsx b/src/pages/profiles/profiles-table.tsx index e2dd66f..4b001aa 100644 --- a/src/pages/profiles/profiles-table.tsx +++ b/src/pages/profiles/profiles-table.tsx @@ -84,6 +84,7 @@ const ProfilesTable: FunctionComponent = (props) => { trimInput: true, } as TextFilterParams, tooltipField: 'name', + initialSort: 'asc', }, { field: 'allLinksValid', @@ -115,10 +116,7 @@ const ProfilesTable: FunctionComponent = (props) => { headerTooltip: intl.formatMessage({ id: 'profiles.table.validity.description', }), - sortable: true, filter: true, - initialSortIndex: 1, - initialSort: 'asc', }, ], [intl]