Skip to content
Discussion options

You must be logged in to vote

Thanks for the reply! That gave me a better perspective of the roots of the issue.
I was not able to work this out with table-layout CSS property.

What I had to do was apply these tableProps:

muiTableHeadProps: {
      sx:{
        position: "sticky",
        top: "0px",
        zIndex: 10,
      }
    }

This way, my <thead> element stays on top of <tbody> cells.

Helped me a lot! Thanks again!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ingegneri-bruno-clorox
Comment options

Answer selected by ingegneri-bruno-clorox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants