How can I create a treeview layout using checkboxes similar to the example below:
[ ] Country A
[ ] Region A
[ ] Territory 1
[X] Region B
[X] Territory 2
[X] Territory 7
[ ] Country B
[ ] Region C
[ ] Territory 3
[ ] Territory 4
I am using the MVC helpers and would like to load the data in one call to the controller i.e. NO on-demand loading.
I've been trying to use the following example: http://demos.kendoui.com/web/treeview/remote-data.html - but I
don't understand how I should construct the JSON object to include children etc.
Similar post here? - http://www.kendoui.com/forums/kendo-ui-framework/hierarchical-data-source/good-way-to-populate-entire-hierarchical-datasource-with-one-data-call.aspx
Any examples would be great.
Thanks,
Beau
[ ] Country A
[ ] Region A
[ ] Territory 1
[X] Region B
[X] Territory 2
[X] Territory 7
[ ] Country B
[ ] Region C
[ ] Territory 3
[ ] Territory 4
I am using the MVC helpers and would like to load the data in one call to the controller i.e. NO on-demand loading.
I've been trying to use the following example: http://demos.kendoui.com/web/treeview/remote-data.html - but I
don't understand how I should construct the JSON object to include children etc.
Similar post here? - http://www.kendoui.com/forums/kendo-ui-framework/hierarchical-data-source/good-way-to-populate-entire-hierarchical-datasource-with-one-data-call.aspx
Any examples would be great.
Thanks,
Beau