primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.56k stars 1.23k forks source link

DataTable: No way to add additional content in the table header below column headers and filters #5283

Closed Magiczne closed 8 months ago

Magiczne commented 9 months ago

Describe the bug

Currently there is no way to add custom content into the table header just below the column headers and filters. We're struggling because of that, cause we need to add some custom content like secondary scrollbar that is synchronized with the bottom one, or some additional information.

I've created PR, that solves this issue by adding additional slot. I hope this will be resolved. Additionaly this slot allows users to add custom content, and by adding some additional css using it to make sticky header for the datatable with additional content, necessary for the user.

PrimeVue version

latest

Vue version

3.x

Magiczne commented 8 months ago

@tugcekucukoglu @mertsincan

Can we get at least some info on is it even considered?

tugcekucukoglu commented 8 months ago

Please check https://github.com/primefaces/primevue/pull/5284#issuecomment-1994430640

We need more community demand.

Thanks,