fer / ion-tree-list

Ionic directive for displaying nested list items.

Home Page:http://fer.github.io/ion-tree-list/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

patrickpirzer opened this issue · 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

commented

@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!

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

commented

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