You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible dynamic load data and render it?
I need load data from server and render tree.
This is my solution
$scope.openTree=function(itemRefs){itemRefs.open=!itemRefs.open;if(itemRefs.open){/** * If the file has been opened, * we load data from server * else we close the file * */itemRefs.children=[];// clear children data and load it below `loadRefs`itemRefs.load=true;loadRefsItemById(itemRefs);}};functionloadRefsItemById(refsItem){RefsApiService.getRefs({parentId: refsItem.id}).then(function(refRes){if(refRes.hasError())returnfalse;refsItem.children=handlerDataForTheTree(refRes.getResponse(),true);refsItem.load=false;});}
But i need save icon of element.
The text was updated successfully, but these errors were encountered:
Is it possible dynamic load data and render it?
I need load data from server and render tree.
This is my solution
But i need save icon of element.
The text was updated successfully, but these errors were encountered: