I'm looking for a way to clear my kendo grid which is using remote odata service. I know that I can call dataSource.data([]) when I'm using local data (i.e. setting dataSource.data config property), but I can't understand how to do the same thing using remote data (i.e. using data.transport). Any suggestions?
The only way I've found is to conditionally call options.success({empty odata response object}) in your transport callback. But the problem is that such empty object contains @odata.context property which is dynamically generated on the service side and I'm not sure where it is used by kendo or it is'nt.

<script> var keyDown = kendo.ui.DropDownList.prototype._keydown; kendo.ui.DropDownList.prototype._keydown = function (e) { if (e.keyCode === kendo.keys.SPACEBAR && this.filterInput[0] === document.activeElement) { return; } keyDown.call(this, e); }</script>I have a grid pop-up editor defined, which uses a numeric textbox. I'm trying to get this to show only integers, but I'm not having any luck.
From other forum posts, data-format="0" should work, but this breaks the grid, with an 'e.slice is not a function' error.
Currently it is defined as:-
<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-spinners="false" data-decimals="0"/></p>
This works fine, except shows two decimals.
If I change it to:-
<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-format="0" data-spinners="false" data-decimals="0"/></p>
The grid stops working, and the error is raised.
How can I get it to work?
In bootstrap a project I have used kendo.all.min.js. However, for a couple of selected pages I only need MVVM Integration so I figured I will setup the pages using kendo.all.min.js (https://github.com/telerik/kendo-ui-core).
I include: kendo/kendo.common-bootstrap.core.min.css and /kendo/kendo.core.min.js but the code below gives me the following error: Uncaught TypeError: kendo.observable is not a function
What am I doing wrong?
<div id="app">
<div data-bind="html: test"></div>
</div>
<script type="text/javascript">
"use strict";
var viewModel = kendo.observable({
test: "<span class='label label-success'>test</span>"
});
kendo.bind($("#app"), viewModel);
</script>
Hi! I'm using a tiny REST api as the grid's data source. For the API its perfectly fine to return a 404 error if data isn't found, but the grid automatically handles this like a regular error (say, like a 500), instead of letting me handle it through the noRecords template (which is called fine if I return an empty collection instead of a 404 in the API).
How can I handle 404s like how the grid handles empty collections with the noRecords template?

Hello,
We are experiencing some problems with persisting grid options and particularly with the filters and groupings. We are using Razor and not javascript.
We successfully persisted the options for the grid but after using setOptions some strange behavior was observed:
Problem 1. We have group by and the options are persisted. After using setOptions the groupings are present but if you try to filter using a filter that has check boxes(multi filter is set to true), the filter contains no options.
Problem 2. We have checkbox multi filter by some column and options are persisted. After using setOptions the filters will contain ONLY the values that were checked. Even after clearing the filter the values are not re populated but we are left only with the options that we had after setOptions.
I have spent lots of time reading on the forums but couldn't find a suitable solution. Any help would be appreciated.

Editor / File and image browser ::
When clicking on image icon from editor to upload new image in that case generate error as 405 method not allowed in HTML 5.
I have attached here completed Zip file which content html.
Please provide me some solution for the same.
Regards,
Joy
