DataTable setting alignment for table headings



  • Is it possible to add alignment for Data table row headings, like wanting to right align a specific row heading cell. I know it is possible using the classes property to align the cell but I’m not seeing anything for the heading itself.



  • Currently, there is no other way of centering the headings than using plain CSS.

    .q-data-table th {
        text-align:right;
    }
    

    But this will align all your headings.


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.