-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Menu Items Order Should Match Table Column Headers Order #5960
Comments
To ensure the
// RecordTableHeader.tsx
const columnHeaders = ['Name', 'Age', 'Address'];
// RecordTableColumnDropdownMenu.tsx
const menuItems = columnHeaders.map(header => (
<MenuItem key={header}>
{header}
</MenuItem>
)); Ensure the References |
You can filter/sort on fields that aren't visible on the table. That might get a bit confusing? The ones that are not visible should then be sorted alphabetically? |
Issue description updated: Let's introduce a second section for non visible fields to make things clear |
@Bonapara I would like to take this, started working do assign. |
/assign |
/assign |
This issue is already assigned to you. Let's get this shipped! |
### ISSUE - Closes #5960 ### Demo https://github.com/user-attachments/assets/279b19cf-6841-4a63-82ed-423bc0eb4395 --------- Co-authored-by: Lucas Bordeau <[email protected]>
…q#7392) ### ISSUE - Closes twentyhq#5960 ### Demo https://github.com/user-attachments/assets/279b19cf-6841-4a63-82ed-423bc0eb4395 --------- Co-authored-by: Lucas Bordeau <[email protected]>
Current Behavior
Filter
andSort
menu items are displayed in alphabetical order (1)Desired Behavior
Visible
Filter
andSort
menu items (1) should be displayed in the same order as the column headers in the table (2)(A).Hidden columns should be displayed below - in a different section - by alphabetical order (B). There should be a separator between the two sections (C)
The text was updated successfully, but these errors were encountered: