PDA

View Full Version : How to enable and disable Scrollbar in list?



nandhagopan
18 Jul 2011, 2:01 AM
I have a list with scroll:'vertical', indexBar:true, grouped:true and emptyText:'No content'.
i have writen a filter condition. There is no data then i can see emptyText.

When i can see emptyText i have to disable scroll.
any one can help on this?

Hertz
18 Jul 2011, 6:23 AM
Try:


yourlistcomponent.scroller.disable()

http://dev.sencha.com/deploy/touch/docs/?class=Ext.util.Scroller

nandhagopan
18 Jul 2011, 8:38 PM
Thanks. It's working.