At least that is what I am assuming. I have a datasource bound to a grid. It is a delayed binding, so the url is set later, but I do get the expected data. When I select the filter item for price I get the following on the console:
Thanks for your help.
Randy
Data Source:
Grid:
d.Price.toLowerCase is not a function
predicate = filter = new F...", "return " + compiled.expression); kendo.all.js (line 4144)
predicate = filter = new F...", "return " + compiled.expression); kendo.all.js (line 4144)
Thanks for your help.
Randy
Data Source:
var myQuotes = new kendo.data.DataSource({ transport: { read: "" }, schema: { data: "d", schema: { model: { fields: { Carrier: { type: "number" }, ErroMsg: { type: "string" }, Key: { type: "string" }, Price: { type: "number" }, Service: { type: "number" }, Sig: { type: "number" }, WeightLbs: { type: "number" }, WeightOz: { type: "number" } } } } } });
Grid:
myQuotes.transport.options.read.data = "d"; myQuotes.transport.options.read.url = 'ws/srvQuickQuote.svc/Quote'; myQuotes.fetch(function () { $("#grid").kendoGrid({ dataSource: myQuotes, height: 600, scrollable: true, sortable: true, filterable: true, pageable: true, columns: [ { field: "Carrier", type: "number", title: "Carrier" },{ field: "Service", type: "number", title: "Service" },{ field: "Sig", type: "number", title: "Signature" },{ field: "Price", type: "number", title: "Price" },{ field: "ErrorMsg", type: "string", title: "ErrorMsg" } ] } ); });