An example cloned from official docs https://dojo.telerik.com/@merogos/EzEtoSuF
<!DOCTYPE html>
<
br
>
<
html
><
br
><
head
><
br
> <
meta
charset
=
"utf-8"
/><
br
> <
title
>Kendo UI Snippet</
title
><
br
><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.common.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.rtl.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.silver.min.css"
/><
br
> <
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2019.3.917/styles/kendo.mobile.all.min.css"
/><
br
><
br
> <
script
src
=
"https://code.jquery.com/jquery-1.12.4.min.js"
></
script
><
br
> <
script
src
=
"https://kendo.cdn.telerik.com/2019.3.917/js/kendo.all.min.js"
></
script
><
br
></
head
><
br
><
body
><
br
> <
br
><
script
><
br
> var dataSource = new kendo.data.DataSource({<
br
> data: [<
br
> { apellido: "Lopez" },<
br
> { apellido: "Lope" },<
br
> { apellido: "Lopito" }<
br
>,<br> { apellido: "Lopito" }<br>,<br> { apellido: "Lòpez" }<br> ],<
br
> filter: { field: "apellido", operator: "contains", value: "L\u00f3p" },<
br
> accentFoldingFiltering: "es-ES"<
br
> });<
br
> dataSource.fetch(function(){<
br
> var view = dataSource.view();<
br
> console.log(view.length); // displays "0", should display 3<
br
> console.log(view[0].apellido); // Nothing<
br
> });<
br
></
script
><
br
></
body
><
br
></
html
>
Hi
Just upgraded to 2019.3.917 and we have lost our ability to enable/disable menu items
here is an example of how we populate a menu datasource in javascript:
<script>
var sa=[], var mm=[];
sa.push({ text: '<span id=openPlan><span style="display: inline-block; width: 190px;" >Open Plan...</span><span>Ctrl+O</span></span>', encoded: false });
sa.push({ text: '<span id=readPlan><span style="display: inline-block; width: 190px;" >Read Plan...</span><span>Ctrl+R</span></span>', encoded: false });
sa.push({ text: '<span id=closePlan><span style="display: inline-block; width: 190px;" >Close Plan...</span><span>Ctrl+S</span></span>', encoded: false });
mm.push({ text: "Main Menu", items: sa });
$("#mainMenu").kendoMenu({
dataSource: mm
});
// get a reference to the menu widget
var menu = $("#mainMenu").data("kendoMenu");
// disable menu item with id
menu.enable("#closePlan", false);
</script>
I have an example here: https://dojo.telerik.com/EMeLAdAd
If you set then library to '2019.1.115' it works and the 'Close Plan' item gets disabled, but if you set it to '2019.3.917' then it stays enabled!
If anyone could let me know what I am doing wrong here I would be grateful.
Thanks
James
I apologize if this is the incorrect place to ask this.
I have downloaded a customized package, but it is minimized and did not come with a .map. Is it possible to get a non-minimized version of a customized package?
Hi
I've got a simple example to demonstrate the behaviour bothering me:
http://dojo.telerik.com/unUhOGuf/16
It's a Jquery MVVM grid with an observable data source, being altered in a single cell with set, but refreshing the whole grid.
Have found some fancy examples, rerendering the row template manually, but that's not the way I want to got.
So my question: How to get the grid refreshing the cell I've updated, without reloading everything else in a simple way?
In another case, I have a detail template, collapsing each time a value is update (which is annoying as well, because I save my detail-template-opened-state in it), but lets stay on the first example for now.
Don't know, why it's refreshing everything anyway, because I don't have any scenario, I would want this kind of behaviour.
Greets Robin
I have a gantt widget as pane of kendo splitter and when I exporting to pdf, I get blank file.
https://dojo.telerik.com/itANUHId