1. #1
    Sencha User
    Join Date
    Nov 2011
    Location
    Russia, Novocherkassk
    Posts
    1
    Vote Rating
    0
    tamtamchik is on a distinguished road

      0  

    Default Answered: How to disable Ext.tree.Panel items default expanding/collapsing on double-click?

    Answered: How to disable Ext.tree.Panel items default expanding/collapsing on double-click?


    Hi, everyone.

    Please help me. How to disable Ext.tree.Panel items native expanding/collapsing on double-click? Or, if there is a way, to show fully expanded tree without any expanding/collapsing behavior.

    Here is a sample. http://jsfiddle.net/hq7CV/1/ On double click on homework in result you can see that it's collapsing. How to disable that.

    Thanks, a lot!
    Yuri

  2. There is a beforeitemdblclick that you can return false to cancel

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,714
    Vote Rating
    438
    Answers
    3113
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    There is a beforeitemdblclick that you can return false to cancel
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.