When a web page zoom is different from 100%, the grid column's seems to loose their resize cursorpreventing the user from resizing them.
When the zoom is set back to 100% the user a able to resize the grid again. Can you confirm if this is a bug? You can reproduce the problem in the Column Resize Demo
columns: [ { command: [ { name: "decreaseIndent", click: decreaseIndent, template: "<a class='k-button'><span class='k-icon k-i-arrow-w'></span></a>" },<style type="text/css"> .k-grid tbody .k-button { min-width: 28px; width: 28px; padding: .1em .4em .3em; }</style>function decreaseIndent(e) { var dataItem = this.dataItem($(e.currentTarget).closest("tr"));{"errors":[{"id":"b128083a-4027-431b-a04b-7485530e347a","errorMessage":"Account failed to update"}]}schema: { errors: "errors" }error: function(e) {console.log(e.errors);}I'm calling options.error() in my destroy function but the row is removed anyway. How to prevent that ?
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>Untitled</title> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2018.1.221/styles/kendo.common.min.css"> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2018.1.221/styles/kendo.rtl.min.css"> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2018.1.221/styles/kendo.default.min.css"> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2018.1.221/styles/kendo.mobile.all.min.css"> <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script> <script src="https://kendo.cdn.telerik.com/2018.1.221/js/angular.min.js"></script> <script src="https://kendo.cdn.telerik.com/2018.1.221/js/jszip.min.js"></script> <script src="https://kendo.cdn.telerik.com/2018.1.221/js/kendo.all.min.js"></script></head><body> <div class='grid'><div> <script> $(".grid").kendoGrid({ editable: { mode: "inline", confirmation: false }, dataSource: { transport: { read: options => { options.success([{test: "test", id: 1}]); }, destroy: options =>{ options.error("error") } }, schema: { model: { id: "id" } } }, columns: [{ field: "test" }, { command: ["destroy"] }] }) </script></body></html>
Hi All!
There is a UI issue with kendo grd's vertical scroll width into different browsers.
Vertical scroll's width into Safari/Edge is more narrow than into Chrome for example.
I've seen an idea for removing vertical scroll but I can't use this approach because I have a custom icon-button in the very right-top angle of the grid for 'expand all columns' function (see attachment).
Please help, is it possible to set the same vertical scroll width for Edge/Safri browsers as we have for Chrome browser?..
I've attached two screenshots to visualize my question.
I'm giving custom templates option in kendo select drop down where I need to sort the values ie., here names in ascending or descending order.
Here is my code in customOptions
$scope.customOptions = {
placeholder: "Select employee...",
valuePrimitive: true,
autoBind: false,
itemTemplate: '<span class="k-state-default">' +
'<img src="#:data.imagePath#" alt="edit" width="24px" height= "24px" /></span>' +
'</span> ' +
'<span class="k-state-default" >#: data.name #</span>',
tagTemplate: '<span class="selected-value">' +
'<img src="#:data.imagePath#" alt="edit" width="24px" height= "24px" /></span>' +
'</span>' +
'<span>#:data.name#</span>'
}
I tried to give k-sort='asc' in my select dropdown but it didn't worked out..
<select class="employeeMultiSelect " kendo-multi-select k-ng-model="selectedEmployees" k-data-text-field="'name'"
k-data-value-field="'id'" k-data-source="employeeList" k-options="customOptions" k-sort='asc'
k-rebind="customOptions"></select>
I'm trying to create an event on right click and drag.
I was able to create an event on right click itself but not able to do so while clicking and dragging of the right mouse button
I have also applied restriction to events that no event can overlap each other. The problem I'm facing is whenever I click the first right click doesn't create event "Maintenance" from next click onward the event multiplies itself on click and event the right click event doesn't go with the restriction of overlapping also.
My Example
I did try referencing this example also
Refrence Example

Here is my example code(Delete):
destroy: {
type: 'post',
url: base_url + "delete",
dataType: "json",
contentType: 'application/json; charset=utf-8',
complete: function (jqXhr, data) {
if (jqXhr.responseJSON.success) {
}
else {
}
alert(jqXhr.responseJSON.msg)
console.log(jqXhr, data)
return false;
}
My response json : {"id":null,"success":false,"msg":"操作失败!","response":null}
PLS help.
Hello:
We are currently evaluating Kendo UI. Our application displays data to end users in two views - a tile view and a tabular view. Users have the ability to slice and dice data using filters in the tile view. We have a use case where users switch from grid view to tabular view and expect that the filters set in the tile view are persisted to tabular view.
We envision tabular view to consist of KendoGrid with multi-select controls as the column headers where users can filter the data. When initializing the grid, we would like to parse the query string variables and convert them to filter object and apply them to multi-select controls and the grid. My question: is it possible to initialize multi-select control and set its value at the time of initialization programmatically?
Thanks,
James
