How can you change the parent enumeration dynamicly in an enum control?
I can update the value of the data binding with a task handler based on the form value:
app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) {
formObj.boundReady(function(){
$('div[data-role="ServiceRequestClassification"]').attr('data-bind',"ciresonDropDownTree: '82777f48-9e32-bcc1-d901-aedd19c2fc53', value: ServiceRequestClassification");
});
return;
});
The challenge I have is that the data in the control appears to load prior to the task handler executing. Is there a way to make the control reload its data?
It looks like most people use hide and show to do this type of thing. I would prefer not because it could become a scale problem. It is also possible for our tenants to sometimes open tickets with each other which rules out using the portal's custom forms based on ad group.
Suggestions would be appreciated.
Thanks
Rod
Best Answer
-
james_kleinschnitz Cireson Dev, Product Owner Advanced IT Monkey ✭✭✭You will want to access the kendo object for this control and then you can use kendo functions to accomplish what you need.
https://demos.telerik.com/kendo-ui/dropdowntree/index
5
Answers
https://demos.telerik.com/kendo-ui/dropdowntree/index