@{ ViewBag.Title = "Index"; }
SpreadJS MVC Sample

This sample shows how you can create a MVC application with SpreadJS, including CRUD operations for database.

When the document is ready, SpreadJS will be initialized, then it loads data from server by Ajax request. The "Create" button will create a new record and insert it to the last row in client, then sync changes to server. After some records has been modified in client, you could sync changes to server by the "Update" button. The "Delete" button will delete record of the active row then sync the changes to server. Besides CRUD operations, Entity Framework provides more operations for database, such as "Sort" in the sample.