Hello,
I'm new in the PrimeVue-Community and I looked in the documentation, but didn't really find anything to it.
In Vuetity many components have slot-properties like "no-data" in a Data-Table. Is there an equivalent in PrimeVue?
Slots
Howdy,
I've come from more of a Vuetify background myself and wondered the same thing; I initially couldn't see it in the documentation either, but it is there
What you're after is the DataTable component's `empty` slot, and the documentation is here:
https://www.primefaces.org/primevue/sho ... /datatable
Just search for 'Empty Message', and you'll find it, along with an example.
It provides the same functionality as `no-data` in Vuetify.
Hope that helps!
Andrew
I've come from more of a Vuetify background myself and wondered the same thing; I initially couldn't see it in the documentation either, but it is there
What you're after is the DataTable component's `empty` slot, and the documentation is here:
https://www.primefaces.org/primevue/sho ... /datatable
Just search for 'Empty Message', and you'll find it, along with an example.
It provides the same functionality as `no-data` in Vuetify.
Hope that helps!
Andrew
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests