Titanium Community Questions & Answer Archive

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

tableViewRow multiline footer

Hi All

Just wondering if any knows how to create a multiline footer in a tableviewrow.

I have tried.

myRow.footer = 'I would like this footer to span over';
myRow.footer = 'two lines.';

and

myRow.footer = 'I would like this footer to span over\ two lines';

No luck unfortunately. Any ideas?

Jamesy

— asked July 27th 2010 by Richard James
  • footer
  • tableviewrow
0 Comments

2 Answers

  • You can put an own view into the table's fooer like this:

    view = Ti.UI.createView({});
    
    label = Ti.UI.createLabel({
        text: 'Two lines of text'
    });
    
    view.add(label);
    
    tableView.footerView = view;
    
    — answered October 13th 2011 by Kristof Gruber
    permalink
    0 Comments
  • I don't think is implemented yet. (I see no tableFooterView in the row class).
    But you alway can fake it :)

    Create a custom row and fake the footer.

    — answered July 27th 2010 by Dan Tamas
    permalink
    0 Comments
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.