| Issue 294: | When set parent to be selected it's children not selected too | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hello,
when i set the parent to be selected in select mode 3 it's children should be selected automatically too but that is not happening
example :
var treeData = [
{title: "Folder", select: true, key: "id3",
children: [
{title: "Sub-item 1",key: "1"},
{title: "Sub-item 2",key: "2",}
]
}
];
here no selection appear at all
Mar 5, 2012
no, this is not done automatically, but considered 'inconsistent data'. You could argue as well, that the parent should be deselected, when no child was selected...
Status:
WontFix
Labels: Milestone-Release1.2.1 |
i fix it using loop php function and $('#tree').dynatree('getTree').getNodeByKey('ID_HERE').select(); command , but shouldn't it do it automatically ?