Jun 01, 2011, 7:48 AM
[CLOSED] Disabling specific Checkboxes ina Checkbox-Tree
Hello,
I am searching for a solution similar to disabling Checkbox-Grids at:
http://forums.ext.net/showthread.php...l&goto=newpost
My purpose is to avoid checking nodes in a tree with more than 2000 childnodes.
For this reason my nodes have an attribute "childcount", means that all nodes with node.attribute.childcount>=2000 should be disabled.
In the above thread this is done via a CSS defined in GetRowClass of the View and the BeforeRowSelect event.
But in case of using a three I do not have a view to set up some styles neither than an event called BeforeCheckChange or something like that.
So... how can I do this?
Regards,
Martin
I am searching for a solution similar to disabling Checkbox-Grids at:
http://forums.ext.net/showthread.php...l&goto=newpost
My purpose is to avoid checking nodes in a tree with more than 2000 childnodes.
For this reason my nodes have an attribute "childcount", means that all nodes with node.attribute.childcount>=2000 should be disabled.
In the above thread this is done via a CSS defined in GetRowClass of the View and the BeforeRowSelect event.
But in case of using a three I do not have a view to set up some styles neither than an event called BeforeCheckChange or something like that.
So... how can I do this?
Regards,
Martin
Last edited by Daniil; Jun 01, 2011 at 1:37 PM.
Reason: [CLOSED]