click
event in
Ti.UI.TableViewRow
should contain row data information such as
rowData
and
section
etc according to the [API doc](
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableViewRow-event-click).
var win = Ti.UI.createWindow();
var sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });
var row = Ti.UI.createTableViewRow({ title: 'Apples' });
sectionFruit.add(row);
row.addEventListener('click', function (e) {
alert(JSON.stringify(e.rowData));
});
var table = Ti.UI.createTableView({
data: [sectionFruit]
});
win.add(table);
win.open();
Expected: Clicking row should show row data.
https://github.com/appcelerator/titanium_mobile_windows/pull/1161
Closing ticket. Fix can be seen in SDK Version: 7.3.0.v20180618062809 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1161