TreeTable: Add custom header for column #2941
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
In primevue 2.x treetable component I would like to be able set a custom header via slots. Like this:
<template #header>
Is your feature request related to a problem?
I need to add tooltips to my headers in treetable component, but for now I can set them only as a plain text via header attribute.
Describe the solution you'd like
As I see, the easiest way to do this, is to add "header" slot to column header
Describe alternatives you have considered
As I understand this feature works in primevue 3, but for sake of stability I still use version 2.x
Additional context
No response
The text was updated successfully, but these errors were encountered: