njleonzhang / vue-data-tables

A simple, customizable and pageable table with SSR support, based on vue2 and element-ui
https://njleonzhang.github.io/vue-data-tables
MIT License
1.02k stars 221 forks source link

Unable to show tree data #245

Closed stefanknegt closed 4 years ago

stefanknegt commented 4 years ago

Online reproduce

http://jsfiddle.net/5ecp2nox/41/

Expected Behavior

The expected behavior is that the row is expandable and collapsable since it has children.

Current Behavior

The row does not expand or collapse at all.

Steps to Reproduce

See the fiddle.

Detailed Description

I am trying to use tree data in the table, but I can't get the child row to expand collapse.

njleonzhang commented 4 years ago

I have just tried, it seems cannot work. I will try to make things work ASAP.

stefanknegt commented 4 years ago

Thanks, do you have any idea how long it will take?

njleonzhang commented 4 years ago

@stefanknegt it works, just refer to https://codepen.io/leonz/pen/JjoKeNx