neolaser
neolaser

Reputation: 6907

ExtJS 4 Problems with hiding the root node in a tree

I have a tree panel which loads data after a keystroke in a text field. If I set the root node to be hidden, when the tree loads it steals focus from the text field. If I dont hide the root note it works perfect...

Any ideas?

Upvotes: 2

Views: 1578

Answers (1)

Kiran
Kiran

Reputation: 20313

As per i know you need to write the code to display tree panel in change event of text field.Then if you change the key in textfield it will never loose the focus and you will get the result by each key change.

Upvotes: 1

Related Questions