Project: titanium
Issue TIMOB-19078: Windows: TableView.setData throws Catastrophic Failure exception
{{TableView.setData}} crashes when it is updated through {{click}} event. It does not cause issue when it is set at constructor parameter. {code} var win = Ti.UI.createWindow({layout:'vertical'}); var button = Ti.UI.createButton({title:'Add'}); var tableData = [{ title: 'Apples' }, { title: 'Bananas' }, { title: 'Carrots' }, { title: 'Potatoes' }]; var table = Ti.UI.createTableView({/* data:tableData */}); button.addEventListener('click', function () { table.setData(tableData); }); win.add(button); win.add(table); win.open(); {code}
Story points: 13