Hello All,
I've seen questions like this several times and based on the answers, I think I'm doing everything right and even so it's not working.
My grid invokes the remote update method ok, and the server receives the requirement as expected. It executes the code perfectly. I'm using popup edit and the problem is the edit window never closes. It remains there. I receive no error message either from the grid control, the server or jquery/javascript.
The response I'm sending is the following:
Response HTTP/1.1 200 OK
Content-Length 110
Content-Type application/json; charset=utf-8
Server Microsoft-HTTPAPI/2.0
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE
Date Sun, 18 Sep 2016 00:01:57 GMT
[{"firstName":"XXX","lastName":"YYY","number":666,"role":0,"roleDescription":"User"}]
The grid definition follows:
$(document).ready(function () {
$("#userGrid").kendoGrid({
dataSource: {
type: "jsonp",
transport: {
read: "<%=ConfigurationManager.AppSettings["wsbase"]%>/getuserlist",
update: {
url: "<%=ConfigurationManager.AppSettings["wsbase"]%>/updateuser",
dataType: "jsonp",
type: "get",
},
error: function (e) {
if (e.errors) {
alert(e.errors);
this.cancelChanges();
}
},
},
schema: {
model: {
id: "number",
fields: {
number: { type: "number", editable: false },
firstName: { type: "string", editable: false },
lastName: { type: "string", editable: false },
role: { type: "number", validation: {min: 0, max: 3, required: true} },
roleDescription: { type: "string", editable: false }
}
}
}
},
pageable: false,
height: 350,
toolbar: ["create"],
columns: [
{ field: "number", title: "Número" },
{ field: "firstName", title: "Nombre"},
{ field: "lastName", title: "Apellido"},
{ field: "role", title: "Cód. Perfil"},
{ field: "roleDescription", title: "Perfil"},
{ command: ["destroy", "edit"], title: "Opciones"}],
editable: "popup"
});
});
Any help, VERY WELCOMED!
Filter event is not firing in your demo.
The GridOptions interface in TypeScript definition files is also missing filter definition.
Export to PDF takes long time to download in case case of large data.
Thanks.
when the first time generate the grid with data is fine but once i select another type id then it cause the problem happen on the grid. The second image will show the problem.
Code :http://jsbin.com/wasalutugo/edit?js,output
Hi. In the standard Kendo Datasource usage with a scheduler (partial code),
dataSource: {
batch: true,
transport: {
read: {
url: baseURL + "api/events",
dataType: "jsonp",
type: "GET",
contentType: 'application/json; charset=utf-8'
},
update: {
url: function (options) {
var model = {
taskId: 1,
title: "test title",
start: null,
end: null,
startTimezone: null,
endTimezone: null,
description: null,
recurrenceRule: null,
isAllDay: false
};
I'd like to be able to access the values from the popup editor and throw them in the model. See all the nulls as placeholders above...I know this isn't standard protocol of doing things but...I'm just wondering, can it be done, and how?
Hello,
I would like DatePicker to validate obviously invalid user input, but it doesn't happen. Why?
I use the following code:
<input type="text"/> <script> kendo.culture("en-GB"); $('input').kendoDatePicker(); /script>
Here is it in dojo: http://dojo.telerik.com/IHoSa
What are the steps to enable validtion of user's input?
Thanks

Hello
I'm using Kendo UI with Symfony and so far it works perfectly. Only when I check my code with Kendo's chrome extension, I get some warnings like
VM235:545 Detected Kendo UI version: "2014.3.1119"
VM237:170 Kendo UI is included before jQueryVM237:170 (anonymous function)VM237:169 (anonymous function)VM237:148 req.onreadystatechange
VM237:170 jQuery does not seem to be includedVM237:170 (anonymous function)VM237:169 (anonymous function)VM237:148 req.onreadystatechange
VM237:170 Kendo CSS file kendo.bootstrap.min_2.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.common_3.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.common_2.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.bootstrap.min_3.css loaded before kendo.common CSS
VM237:170 The kendo.common CSS file is not included
I tried to change the load order of the files, but the warnings remain. As mentioned already, everything works fine. Should I bother?
Thank you
model: { id: "BusinessAreaDivisionMappingId", fields: { BusinessAreaDivisionMappingId: { type: "number", editable:false, nullable: false }, StartDate: { type: "date", required: true, validation: { required: true, dateComparisonValidation: function (element) { debugger; var columnIndex = 0; var grid = $("#bAPLMappingGrid").data("kendoGrid"); for (columnIndex; columnIndex < grid.columns.length; columnIndex++) { if (grid.columns[columnIndex].field == "EndDate") { break; } } var StartDate = new Date($(element).data("kendoDatePicker").value()); var EndDate = new Date($(element).closest("tr").find("td:eq(" + columnIndex + ")").text()); element.attr("data-dateComparisonValidation-msg", "Start Date Cannot be more than End Date"); if (StartDate && EndDate) return (StartDate >= EndDate); return true; } } }, EndDate: { type: "date" }, IsDeleted: { type: "boolean", editable: false, nullable: true } } }