Skip to content

Instantly share code, notes, and snippets.

@nazrdogan
Created August 2, 2013 14:50
Show Gist options
  • Save nazrdogan/6140454 to your computer and use it in GitHub Desktop.
Save nazrdogan/6140454 to your computer and use it in GitHub Desktop.
Titanium Drilldown Menu-Row ekleme
var firstItemRow = Ti.UI.createTableViewRow({
hasChild: true
});
var firstItemLabel = Ti.UI.createLabel({
left: 9,
text: "Birinci"
});
firstItemRow.add(firstItemLabel);
main_menu.appendRow(firstItemRow);
var secondItemRow = Ti.UI.createTableViewRow({
hasChild: true
});
var secondItemLabel = Ti.UI.createLabel({
left: 9,
text: "ikinci"
});
secondItemRow.add(secondItemLabel);
main_menu.appendRow(secondItemRow);
var thirdItemRow = Ti.UI.createTableViewRow({
hasChild: true
});
var thirdItemLabel = Ti.UI.createLabel({
left: 9,
text: "ücüncü"
});
thirdItemRow.add(thirdItemLabel);
main_menu.appendRow(thirdItemRow);
var fourthItemRow = Ti.UI.createTableViewRow({
hasChild: true
});
var fourthItemLabel = Ti.UI.createLabel({
left: 9,
text: "dördüncü"
});
fourthItemRow.add(fourthItemLabel);
main_menu.appendRow(fourthItemRow);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment