TableViewRow is blank when image added.
Hi,
If I add a TableViewRow like this:
var row = Ti.UI.createTableViewRow({
backgroundColor: '#003874',
height: 100,
title: "hello"
});
tableView.appendRow(row);
This works great, but if I add an image like this:
var row = Ti.UI.createTableViewRow({
backgroundColor: '#003874',
height: 100
});
/*
var f = Ti.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory, 'images/weathericons/1.png');
var imageView = Ti.UI.createImageView({
image: f,
width: 24,
height: 24,
top: 3,
left: 3
});
row.add(imageView);
tableView.appendRow(row);
Then the entire table gets blank. Any ideas?
2 Answers
-
This seems to be a bug, it's reported here: https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/1477-standalone-window-with-grouped-view-does-not-display-section-rows
-
hi,
please check this pastie & inform me if u have any douts still
http://www.pastie.org/1099675
Thks & regards…