I am completely new to the Kendo user interface, so maybe I missed something, but after reading the API documents: http://docs.kendoui.com/api/framework/model it seems that Kendo is limited only to working with a single identifier.
For example, let's say I have a grid in which each row is identified by a pair of values ββ(since the underlying data has such a restriction). So, if I read it correctly, is there no easy way to express it in Kendo?
The workaround I can come up with is to create some ad-hoc value that encodes identifiers like "value1 | value2" (string) and when receiving data from the user interface, decoding them back.
Is there a clearer way?
Specific example
To focus on something substantial:
http://demos.kendoui.com/web/grid/editing-inline.html
and the corresponding code (from the .cshtml file):
.Model(model => model.Id(p => p.ProductID))
in my case, this would be (the easiest way I can think of):
.Model(model => model.Id(p => p.ProductComboId1Id2))
where ProductComboId1Id2 is a string encoded as described above.
Solution (view)
See the bottom of the page, it was a problem installing Kendo. The installer script did not install one key .js file, and the whole structure became weird. My problem was one of these failures.
source share