TableViewRow opacity does NOT work?
I try to set the TableView background as transparent, OK, it works, then I try to set all the TableViewRow's opacity in that TableView, but looks like opacity for TableViewRow lost controll? Man can not set this property anymore? Somebody could help? thx!
var menu_list_data = [];
menu_list_data[0] = Ti.UI.createTableViewSection({
headerTitle:''
});
for (var x=0;x<7;x++)
{
var temp_row = Ti.UI.createTableViewRow({
title:'menu '+x,
color:'#000',
backgroundColor:'#E0FFFF',
opacity:0.8
});
menu_list_data[0].add(temp_row);
}
this.win_menulist = Titanium.UI.createWindow({
height:'100%'
});
var tableview = Titanium.UI.createTableView({
data:menu_list_data,
style: Titanium.UI.iPhone.TableViewStyle.GROUPED,
backgroundColor:'transparent',
height:'100%'
});
this.win_menulist.add(tableview);
5 Answers
-
i'm in the same situation :S i didnt found the solution
-
Me too. It doesn't work (sdk 1.7.3)
-
I'm trying to do this in SDK 1.8.0.1 and it still doesn't work. Is there any glitch we're missing? Is this actually meant to work? Any workaround?
Would help so much…
-
Does anybody have a solution for this? 2.x does not work either
-
Possibly try it the other way around….
i.e put the opacity on the TableView and transparent on the TableViewRow
Should achieve the same outcome unless you have alternate coloured rows