Titanium Community Questions & Answer Archive

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

Set icon to tableview

Hi all
I want to set an image on the left side of an item in a tableview
How to do that please help.

— asked October 13th 2010 by Jacob John
  • iphone
0 Comments

1 Answer

  • In your tableview data array add "leftimage" like the example below.

    Cheers,

    John

    var data = [
        {title:'Your row title', hasChild:true, 
    test:'../windows/the_window_that_will_open_when_row_clicked.js', 
    leftImage: '../images/tableview/your_left_row_image.png'},
    
    — answered October 13th 2010 by John Howell
    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.