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

Nested treetables do not work #184

Open
ahenket opened this issue Apr 5, 2016 · 1 comment
Open

Nested treetables do not work #184

ahenket opened this issue Apr 5, 2016 · 1 comment

Comments

@ahenket
Copy link

ahenket commented Apr 5, 2016

I have a tree structure that requires a top level fold, and on some rows has a nested table that could contain its own fold. The inner table do not initialize correctly however.

Is that worth a future enhancement or should it be possible and am I goofing somewhere?

<table id="x" class="treetable">
    <tr data-tt-id="level1">
        <td>row1-col1</td>
        <td>row1-col2</td>
        <td>row1-col3</td>
    </tr>
    <tr data-tt-id="level2" data-tt-parent-id="level1">
        <td>row2-col1</td>
        <td>row2-col2</td>
        <td>
            <span>row2-col3-with-new-table-fold</span>
            <table id="y" class="treetable">
                <tr data-tt-id="deeplevel1">
                    <td>row</td>
                </tr>
                <tr data-tt-id="deeplevel2" data-tt-parent-id="deeplevel1">
                    <td>text</td>
                </tr>
            </table>
        </td>
    </tr>
</table>
@dobrys
Copy link

dobrys commented Feb 16, 2017

The reason is buggy CSS
easiest solution is to change "jquery.treetable.theme.default.css"

FROM : table.treetable tr.collapsed span.indenter a {
background-image: url(data:
......
TO :
table.treetable tr.collapsed td > span.indenter a {
background-image: url(data:
....

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