Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5620] MobileWeb: Property color does not work with tableViewRow

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-06-15T02:48:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-06-15T01:04:27.000+0000
Updated2017-03-09T20:09:15.000+0000

Description

When property color is defined for one tableViewRow of the tableView the whole test will not render.
var win = Ti.UI.currentWindow;
win.backgroundColor = '#EEE';

var data = [{title:'This is row #1',backgroundColor:'blue', fontStyle: 'italic', color:'red'},
			{title:'This is row #2',fontSize:15},
			{title:'This is row #3'},
			{title:'This is row #4'},
			{title:'This is row #5'}];

var tableView = Ti.UI.createTableView({
	width: 300,
	height: 200,
	top: 70,
	left: 10,
	backgroundColor: '#AAA',
	data:data
});

var closeButton = Ti.UI.createButton({
	title:'Close Window',
	height:50,
	width:140,
	fontSize: 16,
	top:10,
	left:90
});

closeButton.addEventListener('click', function(){
	Titanium.UI.currentWindow.close();
});



win.add(closeButton);
win.add(tableView);

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source