primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Datatable loading property does not work after upgrade

Open frnk01 opened this issue 2 years ago • 1 comments

After upgrading primevue to 3.16.2 the loading prop on datatable does not work.

<DataTable :value="transactions.listGroupedTransactions" :paginator="true" :rows="30" :loading="true"

Tested with hardcoded value and #empty template is still showing instead of #loading template.

frnk01 avatar Aug 31 '22 11:08 frnk01

Hi frnk01. I have also upgraded to 3.16.2 and my Datatable #loading template / slot is working correctly. Can you provide a reproduction of the bug? (Maybe use the Prime example https://www.primefaces.org/primevue/datatable/lazy as a starting point)

ian4uia avatar Sep 01 '22 09:09 ian4uia

DataTable needs to know which row will be the first, just as it needs to know the number of rows.

https://stackblitz.com/edit/lxpxlz-93qeul?file=src%2FApp.vue%3AL106

tugcekucukoglu avatar Aug 21 '23 10:08 tugcekucukoglu