Disable a tree node from the client or server side

  1. #1

    Disable a tree node from the client or server side

    Hello!

    I'm trying to disable a tree node from the client or server side, but I can't find any method to do this. I was researching about this and I found the following post: http://www.sencha.com/forum/showthre...vailable/page2, which says that in extjs 4.x there is not a method to disable a tree node, and that it's only posible to disable a tree node by implementing an extjs extension or a plugging.

    Here is an example about what I want to do:

    var storeNode = tree.getStore().getNodeById(nodeId);
    storeNode.disable();
    
    or
    
    var treeViewNode = tree.getView().getNode(storeNode);
    treeViewNode.disable();
    Neither the storeNode nor treeViewNode have a disable method.

    In Ext.Net 1.x - Extjs 3.x the TreeNode object has disable method that work fine, but in Ext.Net 2.x - Extjs 4.x I can't find an analogous method.

    There is any way to disable a specific tree node?

    Thanks,
  2. #2

    I have the same Issue

    on a previous editions there were methods for deleting , disabling , showing ;

    DisableNode

    HideNode

    ShowNode


    i already found a way to remove (tpnlQMS.GetNodeById(node).Remove();) but what about disable and show ???

    please any one help us
  3. #3

    ???

    No reply ???
  4. #4
    Here is a related thread.
    http://forums.ext.net/showthread.php?28092

Similar Threads

  1. Replies: 1
    Last Post: Apr 02, 2013, 5:50 AM
  2. Replies: 3
    Last Post: Dec 26, 2011, 1:32 PM
  3. Replies: 1
    Last Post: Dec 01, 2010, 5:14 PM
  4. Replies: 4
    Last Post: Mar 19, 2010, 11:35 AM
  5. Replies: 6
    Last Post: Sep 01, 2009, 1:06 PM

Posting Permissions