Sep 11, 2013, 1:35 PM
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:
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,
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,