Hybrid View

Answered: Problems Trying To Edit Tree Panel ExtJS 4

I'm using the attached code to edit a treepanel. If I use configuration of clicksToEdit:2, it works fine on the leaf nodes but not on a branch node. If I use configuration of clicksToEdit:1, it works on both nodes. Of course I want 2 clicks. Anyone had this problem?

I just looked at the source code. Had a search through the relevant source files for 'dblclick' and struck lucky. I was expecting to have to override a method but someone was forward-thinking enough to provide a setting.