Need help with new table structure #1334
Replies: 2 comments
-
I understand your frustration with the table structure changes after upgrading Backpack. This is indeed a known issue that has been reported and addressed in various forms throughout Backpack's development. Table Structure Changes and Alignment IssuesThe misalignment issues you're experiencing with table headers, body, and footer are documented in several GitHub issues and pull requests. These problems typically occur when using non-responsive tables ( Root CausesBased on the knowledge sources, there are several factors contributing to these alignment issues:
For example, in PR #4780, it was noted that column headers were shifted and vertical alignment was incorrect. This was partly due to a CSS rule in the backstrap package that added padding to table headers. SolutionsHere are some approaches to fix your table alignment issues:
Is This Intentional?The structural changes to tables have been part of Backpack's evolution, with various PRs attempting to fix alignment and responsiveness issues. For example, PR #3331 made significant changes to table structure to improve bulk actions and responsiveness. While these changes were intentional improvements, the misalignment issues you're experiencing are considered bugs that have been addressed in various updates. I recommend first trying to republish your assets to get the latest fixes, and if issues persist, consider enabling responsive tables or implementing custom CSS fixes based on your specific needs. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Fix table header when not responsive |
Beta Was this translation helpful? Give feedback.
-
Hey @11aman I'm unable to reproduce the issue.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Before the upgrade, the CRUD listing tables followed a straightforward HTML structure where the , , and were all wrapped within a single
element. This allowed me to implement a clean, aligned design across the entire table.However, after upgrading, the table structure seems to have been split—placing the header, body, and footer into separate
To illustrate the issue:
The first attached image (after-upgrade.png) shows how the table appears now — misaligned with spacing inconsistencies.
The second image (before-upgrade.png) shows how it looked before — neatly structured with proper alignment.
Due to this change, I’m facing significant UI distortion, including:
Column widths not aligning properly between header and body.
Unwanted spacing or misalignment between rows.
Scrollbar behavior and responsiveness are no longer consistent.
Could you please confirm whether this structural change was intentional? If so, is there any recommended approach, override, or configuration I can apply to maintain or replicate the previous behavior and restore my UI layout?
Beta Was this translation helpful? Give feedback.
All reactions