0
votes

I want to auto save the contents of a grid in extjs editor grid. Can anybody please help? At present my row is getting saved when the insert key is pressed, but I want to save it as soon as a new row is focused.

1

1 Answers

0
votes

Try looking at the events in the API.

grid.on('validateedit', function(e) {
  var rec = e.record;
  //some code to save the record.
});

If this event doesn't suit there may be an alternative event in the API to match your needs.