View Full Version : Disabling TreeNode checkboxes
JNason
20 Sep 2007, 4:02 AM
How do I disable individual treenode check boxes? I have them configured as disabled:true which grays them out, but does not disable the check boxes.
JNason
20 Sep 2007, 4:12 AM
Ok, we found a solution. We started with the TreeCheckNode.js from http://crepitus.com/misc/ext/tree.html and added the lines
if(n.disabled){
this.checkbox.checked = false;
}
to the function
check : function(state, descend, bulk)around line 171
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.