he-tree-vue icon indicating copy to clipboard operation
he-tree-vue copied to clipboard

Tree Inside a table

Open belt-basya opened this issue 4 years ago • 2 comments
trafficstars

Hey @phphe you have done a nice job. It's a much needed library. Thanks for this wonderful work.

I want to implement this library inside a tbody tag.

i.e.

table
  tbody
    treeview
      tr
        td
        td

I have used the overrideSlotDefault method to override the default slot, but CSS is not applied to td tags.

i.e. it looks like the last td is not drawn.

It look like All the contents are filled inside the first td. i.e.

ID Name Action
1 Abcd Action Button
2 Mnop Edit Link
3 Pqrs Edit Link

So, is it possible to write a tree inside table using your library ?

belt-basya avatar Mar 18 '21 04:03 belt-basya

This may not be caused by the tree. Could you create a reproduce in codesandbox?

phphe avatar Mar 19 '21 13:03 phphe

It is not possible to write a tree inside table.

phphe avatar Mar 19 '21 13:03 phphe