[AC-2193] tableView event after appendSection
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-04-04T21:11:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Quang Pham |
Assignee | Mauro Parra-Miranda |
Created | 2013-01-14T02:38:54.000+0000 |
Updated | 2016-03-08T07:41:11.000+0000 |
Description
*Expected behavior*
All appended rows should be clickable.
*Actual behavior*
Only the first two rows are clickable.
*Test case*
var win = Ti.UI.createWindow();
var table = Ti.UI.createTableView({
data : loadRow()
});
win.add(table);
table.addEventListener('click', function(e) {
alert('Clicked');
table.appendSection({
rows : loadRow()
}, {
animated : true
});
});
win.open();
function loadRow() {
var rows = [];
for (var i = 0; i < 2; i++) {
rows.push(Ti.UI.createTableViewRow({
title : 'Row ' + i
}));
};
return rows;
}
similar for insertSectionBefore, insertSectionAfter
Hi Quang, Can you provide more information on this issue: - Titanium SDK version - Titanium Studio Version - Platform - Platform version For more information on how to file bugs please read: https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report