I have Array in this format.
rowData[0] = addRow(aa);
rowData[1] = addRow(aaa);
rowData[2] = addRow(aa);
rowData[3] = addRow(aa);
addRow is a function which gets this value process.But i don't want to give the Array Index, instead i want to give rowData[i], then put in a loop and access the elements.
rowData holds the an object which addRow returns.
var data = [rowData];
var table = Ti.UI.createTableView({
data:data
});