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

Tree Inside a table #49

Open
belt-basya opened this issue Mar 18, 2021 · 2 comments
Open

Tree Inside a table #49

belt-basya opened this issue Mar 18, 2021 · 2 comments

Comments

@belt-basya
Copy link

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 ?

@phphe
Copy link
Owner

phphe commented Mar 19, 2021

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

@phphe
Copy link
Owner

phphe commented Mar 19, 2021

It is not possible to write a tree inside 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