Hi,
In sencha touch application the scrollbar is not working properly.I used the code like this. 1>scrollable: { direction: 'vertical',
directionLock: true
}
scrollbar is showing but it is not fully working.I also tried like this: scroll: true, but this also not working ..
To help you we need a full code sample of the "component" etc... that you are trying to make scrollable.
When you say "it is not fully working" what exactly do you mean?
},
{
xtype:'panel',
id:'highlights',
docked:'top',
cls:'descr',
html:['<div>',
'<h4>SPA TREATMENT</h4>',
'<p>Have it all at Oasis Day Spa : a skin-perfecting facial,<br/>rejuventating ,essage, body scrub</p>',
'</div>'
].join('')
},
{
xtype: 'label',
html: 'TERMS AND CONDITIONS',
docked:'top',
cls:'dec_test',
},
{
xtype:'panel',
id:'dealterms',
docked:'top',
cls:'descr',
html:['<div>',
'<h4>SPA TREATMENT</h4>',
'<p>Have it all at Oasis Day Spa : a skin-perfecting facial,<br/>rejuventating ,essage, body scrub</p>',
'</div>'
].join('')
},
{
xtype: 'label',
docked:'top',
html: 'DESCRIPTION',
cls:'dec_test',
},
{
xtype:'panel',
docked:'top',
id:'description',
cls:'descr',
html:['<div>',
'<h4>SPA TREATMENT</h4>',
'<p>Have it all at Oasis Day Spa : a skin-perfecting facial,<br/>rejuventating ,essage, body scrub</p>',
'</div>'
].join('')
}
{
xtype:'grabbuttons',
cls:'tab_fixed',
docked:'bottom',
}]
}
});
Here the scrollbar is coming on the last panel but i need the scrollbar will come whole panel.Please give any solution for this.
Hi,
I have attached the screen shot,kindly check once. scrollbar is showing on the bottom panel.,how i put this scrollbar whole my screen.I have marked as box.Please find it. Many many thanks sir for your help. 2012-11-19_1420.jpg
ok your highlights, terms and conditions and description panels should be just child containers inside a parent container with a vbox layout (not panels that are docked top)
Apply the scrollable config to this new parent container.
Then highlights, terms and conditions and description area will hiave the scroll which is what I assume you want