Skip to content

Instantly share code, notes, and snippets.

@akaHeimdall
Created August 11, 2009 18:57
Show Gist options
  • Save akaHeimdall/166057 to your computer and use it in GitHub Desktop.
Save akaHeimdall/166057 to your computer and use it in GitHub Desktop.
// Create an alert
var a = Titanium.UI.createAlertDialog();
a.setTitle('Table View Test')
a.setMessage('row ' + eventObject.row + ' index ' + eventObject.index + ' section ' + eventObject.section + ' rowData ' + eventObject.rowData + ' [eventObject.index].id: ' + rIndex.rosterID);
a.show();
thisID = $(eventObject.row + " id");
/correct formatting for a nested field in the dataArray
Titanium.API.debug('=================== rosterID: ' + dataArray[eventObject.index].rosterID );
//debug everything in an event object
for (val in eventObject) // where obj is your object
{
Titanium.API.debug('=================== val: ' + val)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment