or
viewModel.selectedSite = ko.observable();viewModel.editItem = function (item) { viewModel.selectedSite(item);};db.get('some-record', function(resp) { });
db.put('some-record', { hello: 'world' }, function(resp) { });
db.post({ hello: 'world' }, function(resp) { });
db.destroy('some-record', { rev: 'abcdef123456789' }, function(resp) { });
The resp variable is a JSON object. Given the above, I have been able to successfully perform all CRUD operations on our database. Now, I would like to implement a Kendo GRID with Popup Editing as here: http://demos.kendoui.com/web/grid/editing-popup.html
