Hello-
I have an ObservableObject bound to a remote datasource, and the ObservableObject is bound to form fields with MVVM.
I currently have a 1-1 relationship between the field and the form input. However, I want to change that so there is a single field for multiple controls. For example...
Current
isClient database field (boolean) --> isClient checkbox
isPrimeClient database field (boolean) --> isPrimeClient checkbox
Desired
clientType database field (integer) --> isClient checkbox, isPrimeClient checkbox
I think I can use binding to the observable's "get" and "set" events...
observable.bind("set", function (e) {
if ((e.field === "isClient") || (e.field === "isPrimeClient")) {
let isClient = observalbe.get("isClient");
let isPrimeClient = observalbe.get("isPrimeClient");
//// Some logic to determine appropriate value for clientType /////
observable.set("clientType",somevalue);
}
});
observable.bind("get", function (e) {
if (e.field === "isClient") {
//Look at clientType integer value and set e.value (for isClient) appropriately.
let clientType = observable.get("clientType");
e.value = //// some logic to determine appropriate value ////
}
else if(e.field === "isPrimeClient"){
//Look at clientType integer value and set e.value (for isPrimeClient) appropriately.
let clientType = observable.get("clientType");
e.value = //// some logic to determine appropriate value ////
}
});
However, observable.get(...) always returns null. Why is that?
Basically what I'm trying to do is take a single field from the back-end and render two controls for it.

Hello,
Please help me resolve the bug In timelineWeek view when shown only business hours.
If there is an event that star and end in off hours, timelineWeek did not show event, and breaks - see attach.
Here is live example http://dojo.telerik.com/iVAFa/2
Event with this dates breaks "timelineWeek business hours" view
"Start": new Date("2017/2/16 17:00"),
"End": new Date("2017/2/17 17:00"),
Are there demos for the following widgets:
Prompt, Dialog, Notification, Popup, PanelBar

I have a custom button on scheduler's toolbar and on "onclick" event I'm calling function "openEditor()". Inside this function I want to call a `text/x-kendo-template` script type. How can I do this?
My code right now:
Custom button:
schedulerToolbar.append("<ul class='k-reset'> <li class='k-state-default'> <a role='button' href='#' class='k-link newMeetingButton' onclick='openEditor()'> Nova reserva </a> </li></ul>")Function openEditor():
function openEditor() { *code to call customEditorTemplateBh script* }Template script:
<script id="customEditorTemplateBh" type="text/x-kendo-template"> *template code*</script>
Hello I have 2 problems:
1) When click a file upload button my opens. If I open a from inside that one, the new window opens behind the first one, even though it is modal. How do you force a to open in front? See below:
this.m_oDlg.kendoWindow(
{
actions: [],
title: "Edit Document",
draggable: true,
width : 840,
height : 580,
resizable : false,
scrolling : false,
modal : true,
open: function(e){
// OK Button
var divText = "<div style='float:right;'>";
divText += "<button title='OK' id='editorOK' class='k-button basicModalDialogButton' style='paddingTop: 5px;'>OK</button>";
divText += "</div>";
$("#docEditor").append(divText);
//Cancel Button
var divText1 = "<div style='float:right;'>";
divText1 += "<button title='Cancel' id='editorCancel' class='k-button basicModalDialogButton' style='paddingTop: 5px;'>Cancel</button>";
divText1 += "</div>";
$("#docEditor").append(divText1);
var win = this;
$("#editorCancel").click(function(){
win.close();
});
$("#editorOK").click(function(){
ProStarAPI.DocEditorDlg.onOK;
win.close();
});
}
});
//this.m_oDlg.data("kendoWindow").center().open();
var win = $("#docEditor");
win.data("kendoWindow").open();
2) The buttons declared in the open event disappear if i close the window and re-open it.
Any help would be greatly appreciated. Thanks

Reproduction
See dojo here: http://dojo.telerik.com/EdAdA
You can see I've disabled the top 2 cells in the ID column, now apply a sort from the filter menu.
Notice the enable state doesn't follow the cell it was applied on, instead it stays where it was initially loaded.
Issue
When certain cells are disabled (enable: false), that state doesn't follow the cell when the sort is applied.
I have a custom popup grid edit window that displays some related fields. I hide these fields when creating a new record, as the record id is not created until the record is saved.
Currently users need to save the record and then click again to edit it to be able to see the related fields. Is it possible to keep the popup window open after creating the record and receiving the id back from the server?
