How to Populate records to dropdown from response.record using Titanium sdk

Hi All,

If anyone can tell me how to populate records in dropdown box using titanium sdk provided by dreamfactory.
I have connected my mobile app to mongodb and I am getting data from get method in response.record (when i use Ti.UI.info i am able to see data from db) but I am not able to populate that data in dropdown.

any help appreciated.

Sounds like you’ll want to parse the received JSON into elements for a Titanium.UI.Picker. Here’s Titanium’s docs on working with received JSON, and here’s the docs on Picker.

This post on StackOverflow and this post on Titanium’s developer forum appear to cover the use case of populating a Picker with received data.