Jun 21, 2012, 2:22 AM
[CLOSED] How to set checkbox node has been checked?
Hi
This code is a loop to find the treenode and set checked was true
but checked node always false
How to resolve it??
This code is a loop to find the treenode and set checked was true
but checked node always false
How to resolve it??
protected void getsubnode(Ext.Net.Node subnode, string step)
{
foreach (Ext.Net.Node subnode1 in subnode.Children)
{
if (subnode1.Text.Split(' ')[0].ToString() == step)
subnode1.Checked = true;
if (subnode1.Children.Count > 0)
{
subnode1.Expanded = true;
getsubnode(subnode1, step);
}
}
mytree.render();
}
Last edited by Daniil; Jun 21, 2012 at 10:30 AM.
Reason: [CLOSED]