As my grid edit forms have expanded past the default popup, I have been using editable template. These are bound with MVVM and work well. But not all options work via MVVM like the cascade options below. I would like to use the cascade options in this scenario. It would be great to have all configuration options available via MVVM.
<select id="ParentID" name="ParentID"Hi Doug,
For the bindings to work as expected the content of the editor should be wrapped in script as in the example below:
<script id='template' type='x-kendo/template'>
...
</script>
And in the Grid configuration:
editable: {
mode: "popup",
template: $("#template").html(),
},
Here is the modified example where the cascading functionality is enabled using the data-cascade binding.
As the data-cascade usage is demonstrated in the Dojo above I will mark the request as 'Declined'
I hope this helps.
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
The problem is happening when MVVM is used in a grid popup editor template.
I have recreated the problem here.
https://dojo.telerik.com/UHiWuSex
To ensure I had the right values in the properties I used your example with my data and this works
https://dojo.telerik.com/ebUgIgah
Hello Doug,
I have tested locally by using the cascadeFromField and cascadeFromParentField in MVVM scenario. Below you will find two Dojo examples where the mentioned configuration options are used and working as expected. Could you please take a look and let me know if I am missing something?
Looking forward to your reply.
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.