arnedesmedt / vue-ads-table-tree

MIT License
125 stars 30 forks source link

How to add class to thead #58

Closed ghost closed 4 years ago

ghost commented 4 years ago

I want to custom class names to thead, but I didn't find any ways. Styling is for table, tr, th, and td. but I want thead or tbody. How can I solve this?

arnedesmedt commented 4 years ago

There is a styling section in the README that will explain this: https://github.com/arnedesmedt/vue-ads-table-tree#styling use the 0-index for the header.

ghost commented 4 years ago

I know 0-index is for the header, but it doesn't indicate thead tag exactly. I want styling for thead tag.

arnedesmedt commented 4 years ago

The styling is on the tr tag in the thead.

Why not using a custom css file to style the thead?