How should DataTable headers be aligned for numerical/currency data? #14777
Unanswered
grahamharper
asked this question in
Help
Replies: 1 comment 4 replies
-
@grahamharper that follows the rtl logic that we offer through Text direction. Just need to confirm with a dev if we already support this. @tw15egan @tay1orjones |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How should DataTable column headers be aligned when the column contains a numerical/currency value (assuming the data follows formatting best practice by being set to align-right)?
As-Is example:
I would have expected (and a quick web search confirms) that the column header should be aligned with the data, so in the case of numerical/currency values, the column header should be right aligned.
E.g.
If the Carbon team agrees with this, then should I open a github issue requesting support for right-alignment in column headers, and specifically sortable column headers.
Beta Was this translation helpful? Give feedback.
All reactions