PDA

View Full Version : Say browser to scroll to a specific Ext.Component?



maho2nd
14 Jan 2010, 4:26 AM
Hello,

I have many panels on my site, so I need to scroll.
Is it possible to add a buttons on the top of the page and if I click the button the browser scrolls to a specified Ext.Component?

For example:
myPanel.scrollTo();

Of course this is possible with standard html <a> but it should also work if you add and remove Components at runtime.

Thanks