Problem
Creating a button and placing it inside a view that's inside a table view row, does not answer to the "click" event
Example
var win = Ti.UI.createWindow();
var view = Ti.UI.createView({
backgroundColor:'#eee',
width:200
});
var btn = Ti.UI.createButton({title:'here',width:100,height:30});
var row = Ti.UI.createTableViewRow({
backgroundColor:'#ccc'
});
view.add(btn);
row.add(view);
var table = Ti.UI.createTableView({
data:[row]
});
win.add(table);
win.open();
btn.addEventListener('click', function(){
alert('Clicked');
});
Helpdesk Ticket looking for this
http://support.appcelerator.com/tickets/APP-124753/homepage
Tested with 1.8.0.v20110819142548 iPhone 4.3.4 iPad2 4.3.2 Motorola Xoom 3.2 Nexus One 2.2.2
Standardizing summary and labels.