TreeNode's checkchange event

  • Then I dblclick the textNode's label, it's checkbox is marked as checked, but no events are executed, neither 'node.attributes.checked' is marked as true/false.

    I'm new to ExtJs, so maybe this isnt the way of bugfixing it but it works as tempory fix for me :)

    tree.on("dblclick",function(node,evt) {
    node.attributes.checked = !node.attributes.checked;
    this.fireEvent("checkchange", node, node.attributes.checked);
    });


    ...and maybe if you need to disable the checkbox change on dblclick use this code in the the on("dblclick")...:
    node.ui.checkbox.checked = node.attributes.checked;
    (Useful, when adding TreeEditor to TreeNodes with `checked` enabled)


  • Can you provide the html/code that you are using?


  • The JS code is ~386 lines of code + ~30 lines of CSS + dynamic PHP pages 8-
    I'll try to reproduce it with some of the example pages later today/tomo.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about TreeNode's checkchange event , Please add it free.