i have a ta开发者_如何转开发ble view containing multiple tabs, on this tabs i want to add picutre, title and a description lets say as a subtitle. Im new in the appcelerator environment and i have no idea how to add a subtitle, didn't find anything on google, thanks alot..heres my code
var data = [
{leftImage:'images/squiggle.png',title:'Puppy', hasChild:true,test:'/picture_events.js'},
{leftImage:'images/squiggle.png',title:'Fish', hasChild:true,test:'/picture_events.js'}
];
what is the property i can add that let me add a subtitle on the tab ??
to do this you have to create a more complex row.
See this section of the appcelerator wiki
http://wiki.appcelerator.org/display/guides/Using+TableViews#UsingTableViews-Improvingthedataandviewlayout
精彩评论