Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

ScrollableView inside TableViewRow not shown

Hi everyone,

I am trying to get a ScrollableView inside a TableViewRow to work on the iPhone Simulator. The row is shown, but the images defined as a part of the ScrollableView are not.

var rows = [];
var tableView = Titanium.UI.createTableView({
    backgroundColor: '#E9E9E9'
// ... some rows are successfully added to `rows` here
var row = Titanium.UI.createTableViewRow({
    height: 350,
    selectionStyle: Ti.UI.iPhone.TableViewCellSelectionStyle.NONE
var views = [];
for (var i = 0; i < building.images.length; i++) {
    var view = Ti.UI.createView({
        backgroundImage: building.images[i]
var scrollableView = Titanium.UI.createScrollableView({
    views: views,
    showPagingControl: true,
    pagingControlHeight: 20,
    maxZoomScale: 1.0,
    currentPage: 0,
    height: 337,
    width: 470
tableView.data = rows;

I verified that the image URLs (building.images) are correct. Would somebody please explain what I'm doing wrong?


Mac OS X 10.6.4/
Titanium Developer 1.2.1/
Titanium SDK 1.3.0/
iOS SDK 3.1

— asked September 9th 2010 by Thomas Wiesen
  • mobile
  • scrollableview
  • tableviewrow

1 Answer

  • did you find the solution ? thanks

    — answered August 6th 2012 by Djamel ZAHAL
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.