PDA

View Full Version : Ext.tree.Panel/Ext.tree.View: preserveScrollOnRefresh has no effect



tjosten
7 May 2012, 2:35 AM
Hi,

given that I have an window containing a tree panel, everytime I reload the store behind the tree the scrollbar position resets to top. I found the config "preserveScrollOnRefresh", explained here (http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tree.View-cfg-preserveScrollOnRefresh), but this has no effect to the issue. Illimunations for Developers (Firefox) shows clearly that the option is set to "true", but the scrollbar resets anyways to top.

Is there any working option for this, or do I need to override the default loading behaviour?

Thanks in advance.