Tuesday, 7 April 2015

Simple Table Titanium

Ti.UI.backgroundColor = "white";
var c_windo = Ti.UI.createWindow();

var Data = [{
title : 'number'
}, {
title : 'string'
}, {
title : 'flaoat'
}];

var table = Ti.UI.createTableView({
backgroundColor : "yellow",
top : 15,
height : 550,
width : 120,

data : Data

});
c_windo.add(table);
c_windo.open();

No comments:

Post a Comment