hi all i want to get selected row value into textfield so how can i copy the value into the textfiled. so how can i do this...my_combo is textfiled Code -:
var Tab_data = [
{ title:'Row 1', hasChild:true },
{ title:'Row 2', hasChild:true },
{ title:'Row 3', hasChild:true },
{ title:'Row 4', hasChild:true }
];
var tab = Titanium.UI.createTableView({
top:43,
data:Tab_data
});
tab.selectionIndicator=true;
tab.addEventListener('click',function(e) {
var ind = e.index;
if(e.selectRow)
{
Titanium.API.inof(' Selected clicked');
my_combo.value = e.selectRow.title;
}
});