I would like to bind the selected data item (whole object) - not the value configured by the "dataValueField" - to the scope. It should behave like the DropDownList MVVM demo when the "valuePrimitive" option is set to false.
I am using customeditortemplate with a checkbox for SaveinOutlook. taskViewModel has boolean property IsSavedInOutlook and Models.Utility.SaveInOutlook is the default value for add events. My customeditortemplate checkbox is as below
<div class="k-edit-label">
@(Html.LabelFor(model => model.IsSavedInOutlook))
</div>
<div data-container-for="isSavedInOutlook" class="k-edit-field">
@if (//add event?? Models.Utility.SaveInOutlook == true)
{
<input data-bind="checked: isSavedInOutlook" data-val="true" id="IsSavedInOutlook" name="IsSavedInOutlook" type="checkbox" checked/>
} else{
<input data-bind="checked: isSavedInOutlook" data-val="true" id="IsSavedInOutlook" name="IsSavedInOutlook" type="checkbox" />
}
</div>
is there a way i can differenciate it is add event or edit event and set checked based on Models.Utility.SaveInOutlook value? When the customedittemplate popup window comes do a have a way to check add/edit mode and set a default value?
I have a spec where we have a set of tabs. In these tabs are two kendo grids that have some overlapping data and essentially need to be coordinated. If Grid A in tab A is filtered, Grid B in tab B needs to be filtered similarly. Likewise if a row in Grid A is selected, that same row in Grid B needs to be selected. Is this possible with the kendo grid system? I already have it wired up for changes in data thanks to the Observable Object.
I am going to implement a grid that allow user to edit a date field by selecting the date from the calendar control. I have tried to change the field type to date but the value can not be displayed. any advise ?
I have the attached plunkr here:
http://plnkr.co/edit/5IE41TtnWHpjLZqzRidk
where i'm using the angular kendo splitter, and i have the height set to 100% and it's just entirely collapsed. If i remove the height style, it shows fine, but just not with the height filled out. What am i missing here to make sure the splitter fills out the entire height of the page? Thank you for your help!