Hello,
Some problem with move by mouse in "Bar Charts / Pan and zoom" when use kendoSortable
https://dojo.telerik.com/ApavImA
How do i must use it together?
I use a Kendo Sortable in 3 different places in my app. It has always worked flawlessly for me however recently I upgraded to Kendo 2019.1.115 and ONE of the kendo sortables has stopped working correctly. I know the issue isnt kendoSortable since its working fine elsewhere.
Here is the behavior I have seen. Before the drag begins this is what I have
https://screencast.com/t/Ov6mXlaqKw
Now if I drag Chilly to below Fresh Lemon I end up with the following
https://screencast.com/t/8UDK6LKmANK
The item that was dragged appears twice at the end of the list. I wrote out the source in the change event and it is correct. It shows
https://screencast.com/t/JTcjSE7aj80h
As you can see the data is correct. The problem is that the kendoSortable isnt showing what is in the data model.
Here is my code and template:
<script type="text/x-kendo-tmpl" id="tmplMenuOptionsGroupRow"> <div class="d-flex optionRow"> <div class="pl-2 col-1"> <i class="fal fa-arrows fa-2x dragHandler"></i> </div> <div class="col-5 modifierDesc"> <input name="optionDesc" class="form-control k-textbox k-input-lg" data-bind="value: description, disabled:legacy, events:{change: editorModel.menuOptionGroup.onMenuItemOptionsGroupChange}" /> </div> <div class="col-4 optionPrice dragHide"> <input class="k-input-lg" data-role="numerictextbox" data-format="c" data-min="0" data-format="c2" data-spinners=false data-bind="value:price, disabled:legacy, events:{change: editorModel.menuOptionGroup.onMenuItemOptionsGroupChange}" /> </div> <div class="dragHide optionDelete col-1" > <button type="button" class="btn btn-danger btn-sm" data-bind="click:editorModel.menuOptionGroup.deleteOption, disabled:legacy"><i class="fal fal fa-trash-alt"></i> </button> </div> </div></script>
$("#optionGroupItems").kendoSortable({ cursor: "move", holdToDrag: false, autoScroll: true, ignore: 'input, button', handler: '.dragHandler', // move: function (e) { // console.log('moving'); // }, placeholder: function (element) { console.log("placeholder"); return element.clone().css({ "opacity": 0.3, "border": "1px dashed #000000" }); }, hint: function (element) { return null; }, change: function (e) { console.log('drop/change'); var oldIndex = e.oldIndex; var targetIndex = e.newIndex; console.log('BEFORE Update'); _.each(self.editorModel.menuOptionGroup.options, function(anOption){ console.log(anOption.description); }); self.editorModel.menuOptionGroup.options.splice(targetIndex, 0, self.editorModel.menuOptionGroup.options.splice(oldIndex, 1)[0]); //after the splice console.log(""); console.log('AFTER Update'); _.each(self.editorModel.menuOptionGroup.options, function(anOption){ console.log(anOption.description); }); // console.log(self.editorModel.menuOptionGroup.options); }});
Hi,
Are there any hard or soft limits on maximum number of rows/columns? I'd expect performance to degrade at some point, especially when sorting and filtering, just curious if there are known limits as to what those might be.

Hi,
Seems many links in "how to " sections are broken, like : https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Editing/using-mutiselect-editor-for-comma-separated-string
Alwas getting to knowledge base, mostly unusable.
Please advise.
Thank you.
Best regards,
Laurent.

Hello,
In order to preserve editing mode in the grid after a server side error, I use the methode explain here : http://blog.codebeastie.com/kendo-grid-error-handling/
It seems to work, but after an error, if the user modify the data in the grid and save again, the same data (before modifications) are send again to the server.
I'm using inline editing and MVVM.
The data source :
var remoteDataSourceContrats = new kendo.data.DataSource({ transport: { read: ..., update: ..., create: ..., destroy: ... }, error: function(e) { console.log(e); $('#listeContrats').data('kendoGrid').one("dataBinding", function (x) { x.preventDefault(); }); }, batch: false, pageSize: 20, schema: { data: "contrats", model: ... } } }});
The error response :
{ "errors": ["Erreur de modification"] }
What am I doing wrong ?
Etienne
I have a grid which contains an adres ticket, some adresses contain a special character like '
When I want to get the data from the item when I click an icon on the record, I don't get the correct data:
This is my javascript to load the grid (it is placed in a div)
function loadConnectionsGrid() {
connectionsGrid = $("#connectionsGrid").kendoGrid({
selectable: "row",
filterable: true,
pageable: {
refresh: true,
pageSizes: [10, 20, 50, 100],
buttonCount: 5
},
resizable: true,
columnMenu: true,
sortable: true,
reorderable: true,
columns: [{
field: "EAN",
title: "EAN",
width: "140px"
}, {
field: "Discipline",
title: "Discipline",
filterable: { multi: true },
width: '100px'
}, {
field: "StreetName",
title: "Straat"
}, {
field: "PostalCode",
title: "Postcode",
width: '100px'
}, {
field: "BuildingNumber",
title: "Huisnummer",
width: '100px'
}, {
field: "BuildingNumberSuffix",
title: "Toevoeging",
width: '100px'
}, {
encoded: true,
field: "CityName",
title: "Plaats",
width: "140px"
}, {
title: " ",
template: "#=selectAddressAction(data)#",
width: '25px'
}]
}).data("kendoGrid");
}
In my case it's about column Cityname (I already tries encoded: true as you can see)
When I click the icon on the record this function fires:
function initializeCreateConnectionModal(e) {
$("#btn-create-and-assign").show();
$("#btn-create-case").show();
$("#createConnectionModal-success").hide();
$("#createConnectionModal-error").hide();
enexis.services.tablerecords.getData({ Tables: [{ Name: "ANL001" }] }, getAanleidingCallback);
var item = $(e.relatedTarget).data('item');
loadSelectedConnectionsGridData(item);
}
When I'm trying to get the item (the bold line) In this case I don't get an object with the data like Screenshot01.png
But I get a string (Screenshot02.png)
Hello,
I'm using Kendo JQuery Scheduler inside an Angular application and I have a problem with the native drag&drop when I specify a small eventHeight on the views.
On the code bellow, there is a problem when eventHeight is 20px.
01.this.kendoScheduler = kendo.jQuery(this.kendoSchedulerEl.nativeElement).kendoScheduler({02. date: new Date(),03. startTime: this.dayStartDateTime,04. endTime: this.dayEndDateTime,05. allDaySlot: false,06. views: [07. {08. type: 'timeline',09. title: translate['COMMON.CALENDAR.DAY'],10. eventHeight: this.eventHeight,11. columnWidth: this.dayColumnWidth12. },Browser: Chrome
To be more specific, with eventHeight=20px, when I drag an event (see attached file) bellow the first 20 pixels of the target cell td, a tooltip appears and dropping the event doesn't trigger the datasource update event. I must drop it inside the first 20 pixels to make drag&drop work.
Do you know what could have gone wrong ?
Regards,
Nicolas
Good day!
I have a context menu that is appearing when you right-click tree view nodes. Now the option in the context menu and its sub-menu is dependent with the node type.
My problem is, when I hover an option with a sub-menu, it always display the sub-menu to the left side of its parent and its being cutoff by the screen border. I tried different configuration for 'direction', 'orientation', 'popupCollision' and I can't seem to solve this issue.
In the attached file, I want to show the sub-menu on where the red rectangle is.
$('#nav_tree_menu').kendoContextMenu({ target: "#nav_tree", filter: 'span.k-in', alignToAnchor: true, select: function(e) { // nodeData (src), item (target) ... ... }, open: function(e) { if ($(e.item).is("li")) { return; } var node = $(e.target); var nodeData = treeView.dataItem(node); ... // this is where the options based on the node "type" this.setOptions({ dataSource: options }); }});
Thank you!
Ollie dG.
