Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datatable] column support for alignment (left, center, right) #3670

Open
1 of 2 tasks
gcate opened this issue Dec 6, 2022 · 0 comments
Open
1 of 2 tasks

[datatable] column support for alignment (left, center, right) #3670

gcate opened this issue Dec 6, 2022 · 0 comments

Comments

@gcate
Copy link

gcate commented Dec 6, 2022

What package is this for?

  • React
  • Angular

Summary

The sustainability PAL recommends different alignment based on what is being displayed in a column: for text (left), numbers (right) and status icons (middle). Can the angular datatable include ability to set column alignment? React datatable has this already.
image
Notice that heading and content of Quantity column align even with the sort. I think react adds extra padding to the content cell if there is sort ability for a column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants