DataTable: Subheader RowGroup AND template #empty

UI Components for Vue
Post Reply
ihosteju
Posts: 9
Joined: 06 Sep 2021, 12:18

02 Dec 2021, 02:07

I would like to combine row subheader grouping with a template for the empty state.
<template #empty>
Lorem ipsum...
</template>
I face an issue with the <td> generated by the template. Since the colspan is as big as there are columns, it has one more than needed with subheader row grouping that hides one of them. So the <td> colspan is too big which breaks the display of the datatable. Any smart idea to fix that?

Kindly,

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

03 Dec 2021, 10:33

It seems like is not a core issue, check this https://github.com/primefaces/primevue/ ... dy.vue#L39.

Please provide a codesanbox sample that we can run and see the issue.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests