Skip to content

Commit

Permalink
fix/result-table (#240)
Browse files Browse the repository at this point in the history
* fix: uppdate compose file

* fix: remove scroll inside table. Add column filtering.
  • Loading branch information
mheggelund authored Feb 21, 2024
1 parent 99a98c7 commit ecd0c6e
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 ecd0c6e

Please sign in to comment.