Hello,
How can programmatically invoke the add new record after saving another record?
Code is as follows
<ejs-grid id="grid" actionBegin="actionBegin_" actionComplete="actionComplete"></ejs-grid>
function actionComplete(pageArgs) {
if(pageArgs.requestType=== 'add'){
var grid = document.getElemetById('grid');
grid.ej2_instances[0].addRecord();
}
}