Horacio Sánchez

Results 5 comments of Horacio Sánchez

Hello! TreeModelSettings() must be in tree object, like manual says https://github.com/valor-software/ng2-tree#configure-node-via-treemodelsettings bind settings in html tag requrire 'settings' was Ng2TreeSettings, check this. https://github.com/valor-software/ng2-tree#settings

Do you bind 'settings' to html component?

Well, according to me, TreeModelSettings needs to be into TreeModel. check this. https://github.com/valor-software/ng2-tree#tree-1

Try to change de field "nome" to "value". Remeber the struct of ng2-tree. ``interface TreeModel { value: string | RenamableNode; id: string | number; children?: Array; loadChildren?: ChildrenLoadingFunction; settings?: TreeModelSettings;...