or
It seems to me that kendo has all the bricks to handle timezones without requiring momentJS or any other comparable library, but I cannot relally figure out how to use it.
template: function (element) { return element.element.kendoDropDownList({ dataSource: ["EquipmentAcquisition", "EquipmentLoan"] }); }with the name of the function in the viewmodel that returns an array it doesn't work. I tried
This works only if I list the values of the datasource explicitly as above. If I replace ["EquipmentAcquisition", "EquipmentLoan"]
template: kendo.template($("#Script1").html())
<script id="Script1" type="text/x-kendo-template"> <div data-role="dropdownlist" data-bind="source: requestTypesSource"></div> </script>but this doesn't work either.