Kendo SPA with MVVM

2 posts, 0 answers
  1. Lance
    Lance avatar
    25 posts
    Member since:
    Apr 2013

    Posted 10 Jun 2014 Link to this post

    Hi,

    I am working on an application that uses Kendo SPA and Kendo MVVM. I've looked at the examples for both technologies and have it working mostly how I want but I am having a couple of issues. I want to have a CRUD page that uses a local object. The properties of this object are bound to the various controls and are updated through user input. Once the user is finished, this changed object will be sent to the server to update the database. One of the properties of this object is an array of objects which I want to bind to a Kendo Grid. This is the part I am having trouble with. I don't seem to be able to get the Grid to bind to this property. The grid displays and when I click on the Add button a row is created in the grid, but it never updates its datasource and when you hit Add again the data disappears from the new row and isn't saved.

    I have attached a working example which has this issue. The page in question is in the Menu option "Make a request" and side menu option of "Equipment Loan".
    Another minor issue is the main menu at the top sometimes does render and needs a page refresh.

    Please can you help me with these issues.  I also posted this in the MVVM forum.

    Thanks
  2. Lance
    Lance avatar
    25 posts
    Member since:
    Apr 2013

    Posted 12 Jun 2014 Link to this post

    Fixed.  See the "MVVM SPA application" post in the MVVM forum for the answer.
  3. Kendo UI is VS 2017 Ready
Back to Top