PDA

View Full Version : auto scroll horizontal



mr.xprt
16 Apr 2011, 11:07 PM
hi ,

i was building a toolbar with more than 20 button so buttons start ltr , i want to start the panel buttons from right -rtl-

i tried



Ext.getCmp('MyPanel').scroller.scrollTo({ x: 100, y: 0 }, 200);


or




Ext.getCmp('MyPanel').scroller.moveTo(100,0);


but In vain

any solutions !?