Unanswered: HOW TO IMPLEMENT DASHBOARD ON SENCHA ?
Unanswered: HOW TO IMPLEMENT DASHBOARD ON SENCHA ?
Hi,
This is Priya, I am new to sencha touch and having problem in creating a dashboard for my application which will be my first view of the app. Dashboard must contain 6 plain images, 3 in 2 rows and on click of any of the image it should be redirected to new panel which contains list and further more.
I am stucked with this dashboard part.
Please help me how can do this or tell me some other way to come out of it.
Hi, I think you can use layout to display imges...If you use HTML tables it won't render properly on any device..
So Use like this :
{
xtype:'panel',
height:60,
layout:{
type:'hbox',
align: 'stretch'
},
items: [{
flex: 1,
html: 'add ur image1' listeners:{ click:{ element:'el',//bind to the underlying el property on the panel fn:function(){ //creation of obj for new Panel); } } },{
flex: 1,
html: 'add ur image2', listeners:{ click:{ element:'el',//bind to the underlying el property on the panel fn:function(){ //creation of obj for new Panel); } } },{
flex: 1,
html: 'add ur image3', listeners:{ click:{ element:'el',//bind to the underlying el property on the panel fn:function(){ //creation of obj for new Panel); } } }]
}