Apr 22, 2015, 9:44 PM
Insert and update grid record from Javascript
I know how to insert and update record (and then go to that record) from code behind. How to do same thing from JavaScript?
Insert:
Insert:
Store.Insert(0, Art)
Grid.GetSelectionModel.Select(Art.ID.ToString)
Update:Dim record As ModelProxy = Store.GetById(Art.ID)
record.Set(Art)
record.Commit()
Grid.GetSelectionModel.Select(Art.ID.ToString)
In both cases I send object to record, I dont want to update cell by cell with this.record.set("TestColumn", "TestValue");