开发者

Add subtitle to tab in tableView using appcelerator titanium

开发者 https://www.devze.com 2023-04-02 19:10 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消