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.
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.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more