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

New appended child is out of order #15

Open
winonalakereid opened this issue Aug 14, 2014 · 1 comment
Open

New appended child is out of order #15

winonalakereid opened this issue Aug 14, 2014 · 1 comment

Comments

@winonalakereid
Copy link

In the example below, if I had a button that added a new child for treegrid-1, it would show up in the table at the bottom. It isn't hard in jquery to make the the new child show up after the last tr with the class of treegrid-parent-1, but if that last child has children as well, the new treegrid-1 child shows up in the table before the children of the last child. In general I'm just having trouble adding children and having them show up in the correct order. Any help would be awesome!

Node 1Additional info Node 1-1Additional info Node 2Additional info Node 2-1Additional info
@skworden
Copy link

I believe my problem is the same as this.

One level deep nest / groups properly

If it's deeper than one level it isn't nesting the child elements under the proper parent attribute. However, the open and close toggle icon, opens and closes the correct elements event though they aren't in the right location on the grid. I don't know if it's because the PK and Parent fields are strings and not integers (I'm using NoSQL).
treegrid

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