-
Notifications
You must be signed in to change notification settings - Fork 183
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
How to load dynamic tree from REST #14
Comments
dont think this is supported -- i might need this as well, so may have to add it (watch my fork of this project) |
sorry, i didnt get a chance to look into it. If you can add it, i will merge it |
I too am curious about this, since it is a feature I would need if I was to use this. I might play around with the code and see if I can get it, no promises though. 😄 |
I figured out how, but I also made a few more changes to my version of it. If you're interested in seeing how I did it you can take a look here: https://github.com/graywolf336/tree-grid-directive/commit/17c25162d34bfc8bce3084fccdfd888bad5e4b84 |
Nice, will check it out
|
Oh dynamic data is really important and I can't get graywolf's version to work. Is someone able to update this? |
try using 'promise' feature by angular. That worked for me. |
I got graywolf366's going. I also made an example on Plunkr, and showed how you can customise the template without changing the directive source: |
@aidanlister I' m trying to see your plnkr but for some reason its giving me trouble to acces it. Please, can you post the sample code to other place so I can see it? It doesn't have to be a live site, just the code (pastebin or another one could work). Thanks in advance. |
There's too much code, the plunkr seems to work for me in incognito? |
@aidanlister That was for no use :( It simple doesn't load for me. Nevertheless, I did I understand now, is it loading the whole data at a later moment using promises, right? |
Try a different browser or device then... On Wednesday, 11 February 2015, Diosney Sarmiento notifications@github.com
|
I did that and didn't worked. Don't worry, @graywolf336 already answered me clarifying about the changes he made to the module. |
@khan4019 You can closed this issue too, its already merged and included in the README. |
Awesome... thanks a lot... @diosney |
Hi All, For dynamic data / REST binding., if (myTreeData.length == 0) { This will do the purpose for me, but only when the tree alone is added in the page. But when integrated with other HTML elements, the data is returned but tree is not updated on the UI. :( |
Hi,
appears that only work with fixed tree, how I can load the tree dynamically from REST? And update that tree with new REST requests?
Thanks for any help.
The text was updated successfully, but these errors were encountered: