Automatic assignment of table column & header classes #17179
Unanswered
phtech-blakebless
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Quasar Team,
I am a user of the Quasar framework and have been enjoying its features and flexibility. However, I've encountered a scenario where I believe a small enhancement could greatly improve usability and convenience.
Currently, when defining a Quasar table's columns, we have the option to specify custom classes for individual columns using the headerClasses and classes properties. While this allows for customization of column headers and cells, it requires manual assignment of classes within the table template.
I propose adding a feature where Quasar automatically applies the classes defined in the column object to the corresponding elements in the table body. This would streamline the process of styling table columns and improve code readability by reducing the need for manual class assignment in the template.
By automatically applying column classes to table cells, users would benefit from:
Simplified Implementation: Users can define column classes directly in the column object, eliminating the need for additional template code to apply classes.
Consistency: Ensuring that column classes are consistently applied to table cells enhances code organization and maintainability.
Ease of Use: Users, especially those new to Quasar, would find it easier to style table columns, resulting in a more intuitive and user-friendly development experience.
I believe this enhancement would align with Quasar's commitment to providing a comprehensive and user-friendly framework for building Vue.js applications. It would also contribute to the framework's overall usability and appeal to developers.
Thank you for considering this feature request. I'm excited about the potential improvements it could bring to Quasar's table component.
Best regards,
Blake & ChatGPT
Beta Was this translation helpful? Give feedback.
All reactions