Description
Setting data before seperatorColor on a tableview causes the app to error out
var _window = Ti.UI.createWindow();
var rows = [{
title: 'Row 1'
}, {
title: 'Row 2'
}, {
title: 'Row 3'
}, {
title: 'Row 4'
}, {
title: 'Row 1'
}, {
title: 'Row 2'
}, {
title: 'Row 3'
}, {
title: 'Row 4'
}];
var tableview = Ti.UI.createTableView({
data: rows,
separatorColor:'blue'
});
_window.add(tableview);
_window.open();
Steps to reproduce
Add the above to an existing app.js
Build for a windows target
Actual
Application errors out, swapping the order of data and separatorColor prevents this
Expected
Application should not error out
https://github.com/appcelerator/titanium_mobile_windows/pull/1035
https://github.com/appcelerator/titanium_mobile_windows/pull/1065
Merged to 6_2_X https://github.com/appcelerator/titanium_mobile_windows/pull/1079
Verified in 6.2.0.v20170821001430, closing ticket