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

[Solved] Making changes to a grid on the client and saving the changes

0 Answers 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 25 May 2011, 11:28 AM
At the moment I am displaying a object in a cople of text fields/comboboxes/etc. This object also has a list of other objects that I display in a grid. My aim is to allow changes to the object, but to allow the user to add rows, on the client, to the grid. Those changes, both to the text fields, etc, and the additions/deletions/etc, to the grid then need to be passed back to the server where they will be committed as a single process.

Is it possible to add additional entries to the grid on the client using javascript? Can changes to a grid be mapped to object/view model that was passed to the view?

My initial thought was I would have to handle the adding of child objects as a seperate process. Therefore I would have to create the parent object, save it, and then allow the child objects to be created and added.

Any advice would be extremely useful!

Kind Regards

Michael
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Share this question
or