Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
BB_shi
Posts: 91
Registered: ‎03-15-2011
My Device: Blackberry 9800

How to access data dynamically from DataModel for collapsible list in BB 10

Hi,

 

I need to implement collapsible list in BB 10. And for this i am using FilteredDataModel example provided in Github. Currently all data is hardcoded in example but it is required to fill data dynamically in ListView.

 

 

Please help.

Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to access data dynamically from DataModel for collapsible list in BB 10

Wrong forum, you need to be here:

http://supportforums.blackberry.com/t5/Cascades-Development/bd-p/Cascades

 

I will get this moved.

 

That said, have a look at the samples included on the Cascades Microsite, I think there is an example there. 

Please use plain text.
Developer
BB_shi
Posts: 91
Registered: ‎03-15-2011
My Device: Blackberry 9800

Re: How to access data dynamically from DataModel for collapsible list in BB 10

Thanks Peter.. for the guidance. :smileyhappy:
Please use plain text.
Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to access data dynamically from DataModel for collapsible list in BB 10

Good luck BTW, I am not sure how I would do a Collapsible List.  Dynamic yes - do that no problem.  I found this helpful:

http://www.kdab.com/one-datamodel-to-filter-them-all/

 

But I do think there is a really good example on the microsite - I haven't looked at it becuase by the time it was available, I had already sorted it out for myself....

Please use plain text.