I know there are threads about the main JS files having bad UMD wrappers, but the cultures have a different issue.
Prior to v2016.1.112, there weren't any dependencies on kendo.core in the culture files. They've been added as below, and are looking for kendo.core in the current path.
(function(f){ if (typeof define === 'function' && define.amd) { define([ "./kendo.core" ], f); } else { f(); }}Obviously, kendo.core isn't in the same path as the culture files, so RequireJS fails to load the file.
Could a fix for this please be rolled into the same release that is presumably coming very soon?
Regards,
Sean.
var dataSource = new kendo.data.DataSource({
transport: {
update: function(options) {
// make AJAX request to the remote service
$.ajax( {
url: "/orders/update",
data: options.data, // the "data" field contains paging, sorting, filtering and grouping data
success: function(result) {
// notify the DataSource that the operation is complete
options.success(result);
}
});
}
}
});
Hi,
i use NumericTextbox with ng-switch and try to rebind it when a decimals value changes. But when the k-rebind value changes, it simply disappears.
<div id="example" ng-app="KendoDemos">
<div class="demo-section k-content" ng-controller="MyCtrl">
<div class="box-col">
<h4>Set Value</h4>
<p>
<div ng-repeat="a in list" ng-switch="a">
<input ng-switch-when="1" kendo-numeric-text-box k-min="0" k-max="100" k-decimals="decimals" k-format="format" k-rebind="decimals" k-ng-model="value" style="width: 100%;" />
</p>
</div>
</div>
<div class="box-col">
<h4>Result</h4>
Value: {{value}}
</div>
</div>
</div>
<script>
angular.module("KendoDemos", [ "kendo.directives" ])
.controller("MyCtrl", function($scope, $timeout){
$scope.value = 50;
$scope.list = [1, 2, 3, 4];
$scope.decimals = 0;
$scope.format = "n0";
$timeout(function(){
$scope.format = "n3"
$scope.decimals = 3
}, 500);
})
</script>
Thanks for your help
Antje
Hello,
I want to display text on button based on the value from database.
So, button text varies in each row(Ex: In service, Expired, 30 days Expire).
1) How can I display text in button in Kendo row ?
2) I want to change the color of the button based on the above 3 values. (Ex: In Service - Green, Expired - Red, 30 day expire - Yellow)
I want to display that button in the custom command button in below code
How can I do this ?
@(Html.Kendo().Grid(Model) .Name("grid") .Columns(columns => { columns.Bound(c => c.UserName).Title("User").Filterable(false); columns.Bound(c => c.Role).Title("Role"); //columns.Command(command => command.Custom().Click("showDetails")); }) .HtmlAttributes(new { style = "height: 500px;" }) .Sortable() .Scrollable(x => x.Height(400)) .Filterable() .Pageable(x => x.Enabled(true).PreviousNext(false).PageSizes(true)) )Hi, is it possible to get a mouse hover event and the list item under the mouse?
I tried doing a JQuery hover on the item elements of the ListView but it never fires. Has anyone tried to accomplish this?
Hi,
On PDF export the dataItem's title does not appear properly.
Here is my code:
schema: {
<div id="scheduler" kendo-scheduler class="clear" k-options="schedulerOptions"> <span k-event-template class='route-scheduler-title'>{{dataItem.route_name}}</span></div>
Hi,
I have a selectable grid which has one locked column.
When using select() method to get selected rows, I get duplicated results.
If I select one row the result will contain two jQuery objects, beside the row there will also be separate jQuery object containing just the selected locked column.
Check this example: http://dojo.telerik.com/EyEMO
Is this how it should work or is this a bug?
In my case I would like to get the same results as I would get without locked column.
Im working on an existing project that was referencing kendo mvc and associated scripts etc version 2013.3.1324 and have since upgraded to 2015.3.1111
There a number of grids that use a datasource loaded via Ajax. The datasource is populated similar to this:
MyDatasourceVar.data(data)
Where the data variable is that returned from the ajax request.
This results in a javascript error (e.slice is not a function)
If I simply change this code to something like this : MyDatasourceVar.data = data, the error goes away.
Looking over the (current) docs for datasource
http://docs.telerik.com/kendo-ui/api/javascript/data/datasource
I see mention of using the "data" property, but not a setter method like what has ben used in my project. Was this a change in some version between the two mentioned?