View Full Version : Ext.ux.TreePicker and scroll

10 Oct 2013, 8:42 AM

I use a treepicker extension and I have a problem with the focus.

In the function createPicker, I have this code :

this.treePanel = Ext.create( 'Ext.tree.Panel', {
hidden: true,
floating: true,
minHeight: 300,
minWidth: 300,
maxHeight: 500,
autoScroll: true,
rootVisible: false,
pickerField: me,
return this.treePanel;

It works but I have a problem

when I scroll in my treepanel the first time and select a node, my value show in my textfield.
If I click again in my picker, and I scroll in my treepanel and expand a new node,
my focus go up in my treepanel and again and again.

What's the problem ?
I don't know where search the problem ...

Do you have a solution ?

Thanks you very much

Gary Schlosberg
12 Oct 2013, 10:56 AM
Might be a problem with your data configuration. Can you post a working test case (maybe a Sencha Fiddle (https://fiddle.sencha.com/#home)) or at least post your store and data for us to see?