Skip to content

Commit

Permalink
fix: remove scroll inside table. Add column filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Feb 19, 2024
1 parent 2700fbd commit 4525ab2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const Table = styled.div`
padding-bottom: ${spacings.MEDIUM};
> div {
overflow-y: hidden;
> table {
min-width: 1150px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const VariogramResultTable = ({
<Styled.Table>
<EdsDataGrid
enableSorting
enableColumnFiltering
enablePagination
emptyMessage="No results to show"
columnResizeMode="onChange"
Expand All @@ -104,7 +105,7 @@ export const VariogramResultTable = ({
},
{
accessorKey: 'modelArea',
header: 'Archel Filter',
header: 'Model Area',
id: 'modelArea',
},
{
Expand All @@ -128,6 +129,7 @@ export const VariogramResultTable = ({
accessorKey: 'quality',
header: 'Quality factor',
id: 'quality',
enableColumnFilter: false,
},
]}
/>
Expand Down

0 comments on commit 4525ab2

Please sign in to comment.