material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Columns labeled as 'numeric' have right align when used as a group label.

Open Siech0 opened this issue 6 years ago • 4 comments

Describe the bug If you enable grouping on a table and you use a label marked with the type 'numeric' as the group by label, the group selection interface will be right aligned. (Likely due to how numeric columns themselves are right aligned.)

To Reproduce Steps to reproduce the behavior:

  1. Create a column with the field "type" set to "numeric"
  2. Enable the option 'grouping' on the table
  3. Choose the previously created "numeric" column as the grouping label
  4. See that the group tabs are awkwardly on the right side of the table

Expected behavior The group tabs should be aligned to the left, irrespective of the type of the column used to group by.

Screenshots Capture

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox
  • Version [e.g. 22]: 71.0

Siech0 avatar Dec 30 '19 09:12 Siech0

Just came across this as well.

thelazydogsback avatar Jan 02 '20 01:01 thelazydogsback

You can see this issue in the "Basic Grouping Example" here. View this example and group by "Birth Year" to see the issue described above.

8enSmith avatar Jan 14 '20 14:01 8enSmith

Same here.

HighlApp avatar Feb 20 '20 10:02 HighlApp

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.

stale[bot] avatar Jul 05 '20 20:07 stale[bot]