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.
-
Olá.
Desculpe-me a intromissão mas existe outra maneira SIM.
Na definição do label coloque como abaixo:
label: ‘<span style=“float:right;”>XXX</span>’,
onde ‘XXX’ deve ser substituido pelo texto do título desejado.