Replies: 1 comment
-
I achieved it like this: muiTableHeadCellProps: {
sx: {
"&.MuiTableCell-alignRight .Mui-TableHeadCell-Content": {
flexDirection: "row",
justifyContent: "end",
},
"&.MuiTableCell-alignRight .Mui-TableHeadCell-Content-Labels": {
flexDirection: "row",
}
}
} Put it in the global table options and it will be applied for all column headers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to align my headers to the right and keep my sort icons at the right of the header label. I tried setting
but it places the sort icon to the left of the header label. Is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions