mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
CE-604 make grid always fit on screen, so h-scrollbar & column headers are always present (by turning off autoHeight and adding a set height
This commit is contained in:
@ -2019,7 +2019,7 @@ function RecordQuery({table, launchProcess}: Props): JSX.Element
|
||||
page={pageNumber}
|
||||
checkboxSelection
|
||||
disableSelectionOnClick
|
||||
autoHeight
|
||||
autoHeight={false}
|
||||
rows={rows}
|
||||
// getRowHeight={() => "auto"} // maybe nice? wraps values in cells...
|
||||
columns={columnsModel}
|
||||
@ -2043,7 +2043,7 @@ function RecordQuery({table, launchProcess}: Props): JSX.Element
|
||||
getRowId={(row) => row.__rowIndex}
|
||||
selectionModel={rowSelectionModel}
|
||||
hideFooterSelectedRowCount={true}
|
||||
sx={{border: 0}}
|
||||
sx={{border: 0, height: "calc(100vh - 250px)"}}
|
||||
/>
|
||||
</Box>
|
||||
</Card>
|
||||
|
Reference in New Issue
Block a user