开发者

ExtJS 4 Problems with hiding the root node in a tree

开发者 https://www.devze.com 2023-03-06 20:41 出处:网络
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 not开发者_

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 not开发者_开发问答e it works perfect...

Any ideas?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号