Header and Pagination style
I am trying to make first and second header fixed (or sticky) using MuiThemeProvider and createMuiTheme. Until now, I've managed to make pagination fixed to bottom like this:
const theme = createMuiTheme({
overrides: {
MuiTableCell: {
root: {
padding: "5px",
}
},
MTableHeader:{
header: {
top: '0px',
zIndex: '0px',
position: 'sticky',
backgroundColor: '#fff',
}
},
MuiTablePagination: {
toolbar: {
position: 'fixed',
bottom: '0px',
left: '0px',
backgroundColor: '#E7E7E7'
}
}
}
});
but it seems that I can not do the same thing for MTableHeader and MuiToolbar (second header). Also, I need to add padding-top to pagination, because the last row of the body is hidden. Anh help would be much appreciated.
I'm also using this library and want to make header and pagination bar fixed. Is it possible? how?
I found a solution here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.