Introduction titanium
- 16. var data = [];
var tableView = Ti.UI.createTableView ({
data:data
});
ObjC
XXX
- 18. var tdata = [];
var row = Ti.UI.createTableViewRow({
height:'auto'
});
var image = Ti.UI.createImageView({
image:'http://m.wsj.net/video/
20100217/021710atdlynch/
021710atdlynch_115x65.jpg',
left: 5,
width:50,
height:50
});
row.add(image);
tdata.push(row);
tableView2.setData( tdata );
Editor's Notes
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n