var table1 = Titanium.UI.createTableView(
{
data:[
{title:"Row 1 - simple row", url:"<Specify the whole path of your detail.js file>"},
{title:"Row 2 - Having child", hasChild:true, url:"<Specify the whole path of your detail.js file>"},
{title:"Row 3 - with Details",hasDetail:true, url:"<Specify the whole path of your detail.js file>"},
{title:"Row 4 - with Check",hasCheck:true, url:"<Specify the whole path of your detail.js file>"},
{title:"Row 5 - red background",backgroundColor:"#f00", url:"<Specify the whole path of your detail.js file>"}
]
});
table1.addEventListener('click', function(e){
if (e.rowData)
{
var win5 = Titanium.UI.createWindow({
url:e.rowData.url,
title:e.rowData.title
});
win5.open({animated:true});
}
})
win1.add(table1);
Надеюсь, это поможет вам.