Datatable - Customize header

UI Components for Vue
Post Reply
jesinor
Posts: 1
Joined: 07 Jun 2023, 16:11

07 Jun 2023, 16:18

How can I customize table header?
I use PT ( trying with header, headerRow, thead) but it doesn't seem to work.
ie.
:pt="{
headerRow: { class: 'bg-slate-300' } // or var(--gray-200) ...
}"

What am I doing wrong?

Thanks

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

14 Aug 2023, 11:27

Actually, you could use the header templating and pt property. If you have still have a problem of implementation the pt property, please send us a reproducer link.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests