Hi,
I've currentrly working with kendo-UI and more specificly with its models. And I've a problem with the schema definition. Indeed when I read the documentation, I can see that the field "from" exist in the schema definition. It's a means to make a relatiship between my model and the data JSON received.
Example
01.var Product = kendo.data.Model.define( {02. id: "id",03. fields: {04. id: { type: "number", editable: false },05. importedField: {06. type: "string",07. from: "bar"08. }09. }10. });11. 12. var a = new Product({bar : "Hello World", id : 1});So, in theory if I make a new instance of Product, I should found a field "importedField" on my current object. But the field doesn't exist and "bar" is defined.
Second remaks : If i use a Kendo.data.DataSource and define my product model in this parameters, the field "bar" is replaced by "importedField" (without touch my model class)
Somebody has an idea ?
thank's lot
Stephan
Note : I'm realy sorry for my english :)