Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2318] Android: TableViewRow setColor() method doesn't exist

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-01-29T19:16:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterRafael Kellermann Streit
AssigneeDaniel Sefton
Created2013-01-26T18:00:47.000+0000
Updated2016-03-08T07:41:20.000+0000

Description

*Problem description* Method setColor() does not exist in TableViewRow for Android, but in documentation it says that works fine: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableViewRow-method-setColor *Test case*
var win = Ti.UI.createWindow({
	backgroundColor : "#FFF"
});

var row = Ti.UI.createTableViewRow({
	title : "Foobar",
	color : "red"
});

var tableView = Ti.UI.createTableView({
	data : [row]
});
win.add(tableView);

row.setColor("blue"); // Errors on Android but not iOS

win.open();

Attachments

FileDateSize
2013-01-26 15.59.30.png2013-01-26T18:00:47.000+000083615

Comments

  1. Daniel Sefton 2013-01-29

    Tested and confirmed on Android 4.2 Ti SDK 2.1.4 GA, 3.0 GA and 3.1.0.v20130128172329.

JSON Source