ion-tree-list icon indicating copy to clipboard operation
ion-tree-list copied to clipboard

Can the ion-tree-list be populated with data from a database?

Open patrickpirzer opened this issue 8 years ago • 3 comments

Hello,

We tried to populate the ion-tree-list with data from our database but had no luck. Can You give us please an example, if You have one?

Thanks in advance! Patrick

patrickpirzer avatar Nov 15 '16 16:11 patrickpirzer

@patrickpirzer are you using $http, ng-resource? I still didn't test the library loading data from an endpoint yet, but wouldn't mind to reproduce your case.

Thanks to you!

fer avatar Nov 16 '16 10:11 fer

I am doing this. I got the parent. child relationship in row (recursive in nature) from a database table and have a javascript routine to build a tree and feed into the ion-tree-list library. Simple but the tree is really slow when parsing into the structure. I am looking for a faster way to achieve almost instant response) for an interactive user experience

ltung avatar Nov 23 '16 19:11 ltung

I did fetch data through webservice & populated tree with JSON & it is working smoothly.

nilaykothari90 avatar Jan 10 '17 17:01 nilaykothari90