or
{"person":[{"address":"Address1","name":"Person1"},{"address":"Address2","name":"Person2"},{"address":"Address3","name":"Person3"}]}$(document).ready(function() { $("#grid").kendoGrid({ dataSource: { transport: { read: { url: myURLFunc(), dataType: "json" } }, schema: { model: { fields: { name: {}, address: {} } } } }, height: 250, sortable: true, columns: [ { field: "name", title: "Person" }, { field: "address", title: "Address" } ] });});When creating a listview without specifying a template (ok, not very real situation, but still....) you get an error
In this lines:
that.template = kendo.template(options.template || "");that.altTemplate = kendo.template(options.altTemplate || options.template);
The second line should be:
that.altTemplate = kendo.template(options.altTemplate || options.template || "");Regards, Jaap
Which is the problem?, it seems to be loading the second culture or my browser localization.<script type="text/javascript"> kendo.culture("en-GB"); </script> cultures.current Object { name="en-GB" ... calendars ... patternsObject { d="dd/MM/yyyy" WRONG
function ted() {
var grid = $("#grid_clients").data("kendoGrid")
grid.refresh();
}