This is a migrated thread and some comments may be shown as answers.

Kendo SPA with MVVM

1 Answer 234 Views
SPA
This is a migrated thread and some comments may be shown as answers.
Lance
Top achievements
Rank 1
Lance asked on 10 Jun 2014, 09:42 PM
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

1 Answer, 1 is accepted

Sort by
0
Lance
Top achievements
Rank 1
answered on 13 Jun 2014, 01:48 AM
Fixed.  See the "MVVM SPA application" post in the MVVM forum for the answer.
Tags
SPA
Asked by
Lance
Top achievements
Rank 1
Answers by
Lance
Top achievements
Rank 1
Share this question
or