Hi, I've a problem with tableViewSection.headerView. Here is my simple code of app.js:
Titanium.UI.setBackgroundColor('#000'); var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var dataSectionSopralluoghi = []; var tableViewSopralluoghi = Titanium.UI.createTableView({height:'auto', top:0}); var headerTitleView1 = Ti.UI.createView({ backgroundColor:'#FFF' }); var headerTitleLabel1 = Ti.UI.createLabel({ text:'headerTitleLabel1' }); headerTitleView1.add(headerTitleLabel1); dataSectionSopralluoghi[0] = Titanium.UI.createTableViewSection({ headerView:headerTitleView1 }); var dataVerifica1 = Titanium.UI.createTableViewRow(); var verificaLabel1 = Ti.UI.createLabel({ text:'Test row' }); dataVerifica1.add(verificaLabel1); dataSectionSopralluoghi[0].add(dataVerifica1); tableViewSopralluoghi.setData(dataSectionSopralluoghi); win1.add(tableViewSopralluoghi); win1.open();I can't see anything on the table view section title. Someone can explain me where I've made mistakes?
Thanks