dawsontoth/Appcelerator-Titanium-Redux — Issue #36: RJSS doesn't work on TableViewRow
Author: wiradikusuma
Created: 2012-01-28 14:04:59+00:00
State: open

We have RJSS:

.row1 { height: 50; }

And code:

var imported = [Ti.UI.createTableView, Ti.UI.createTableViewRow];
var table = new TableView();

var row1 = new TableViewRow({className:'row1', title:'Hello 1'});
var row2 = new TableViewRow({height: 50, title:'Hello 2'});

table.appendRow(row1);
table.appendRow(row2);

info(row1.height); // will return 0!
info(row2.height); // will return 50, nothing special

Why 'height' from RJSS not changing row1?