Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grouped Table Will Not Render Rows with Empty Children #841

Open
1 task done
N8ers opened this issue Apr 8, 2021 · 1 comment
Open
1 task done

Grouped Table Will Not Render Rows with Empty Children #841

N8ers opened this issue Apr 8, 2021 · 1 comment

Comments

@N8ers
Copy link
Contributor

N8ers commented Apr 8, 2021

Issue Type

  • Bug

Specs

v2.21.9

What browser?
Chrome

Expected Behavior

If an item in the :row has no children values, it should still appear.

Actual Behavior

Item in the :row that have no children values do not render in the table.

Steps to Reproduce the Problem

Please detail your steps here

  1. Have a vue-good-table component with group-options = { enabled: true, collapsable: true }
  2. In the rows prop, pass in data that has children, and data where children is an empty array
  3. The data where the children are an empty array will not render

I believe this may have happened previously in issue #699

jsfiddle

Here is a fiddle

@carmolim
Copy link

carmolim commented Nov 30, 2022

I'm having a similar problem, my table renders when the row has the children: [], but when It doesn't have the children property the table shows: No data for table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants