Created
August 24, 2009 21:06
-
-
Save davidhemphill/174185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var optionData = [ | |
{title:'Family Tree', "hasChild": "true"}, | |
{title:'Faith-based Initiatives', "hasChild": "true"}, | |
{title:'Why Am I?', "hasChild": "true"} | |
]; | |
var optionSection = Titanium.UI.iPhone.createGroupedSection({header:'Message Series', type:'option', data:optionData}); | |
// create the grouped view | |
var groupedView = Titanium.UI.iPhone.createGroupedView(); | |
groupedView.addSection(optionSection); | |
// add view to the window | |
Titanium.UI.currentWindow.addView(groupedView); | |
// show view | |
Titanium.UI.currentWindow.showView(groupedView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment