This question is locked. New answers and comments are not allowed.
Hi,
Is it possible to implement a tri-state checkbox with the MVC TreeView? I have a hierarchical treeview with states being parents to counties. Users should be able to select one or more counties, but the user experience seems wrong for the parent checkboxes without some sort of tri-state selector. If they can't select all children by selecting the parent, the parent checkbox has no meaning, and is somewhat misleading.
Can anyone help with this? If we can't have a tri-state selector for the parent, perhaps we can enable/disable the checkbox at a hierarchical level? I suppose I can write something to traverse the tree with javascript, but I don't want to re-invent the wheel...
Thanks!
Is it possible to implement a tri-state checkbox with the MVC TreeView? I have a hierarchical treeview with states being parents to counties. Users should be able to select one or more counties, but the user experience seems wrong for the parent checkboxes without some sort of tri-state selector. If they can't select all children by selecting the parent, the parent checkbox has no meaning, and is somewhat misleading.
Can anyone help with this? If we can't have a tri-state selector for the parent, perhaps we can enable/disable the checkbox at a hierarchical level? I suppose I can write something to traverse the tree with javascript, but I don't want to re-invent the wheel...
Thanks!
