Hi Sourabh,
For your requirement, I found a solution (not tested thoroughly) which you can try.
- Create a global Client action with an input parameter i.e. GridId,
- In the client action flow, define a JS node with the below script.
JS To add DataGrid Bottom row
var gridObj = GridAPI.GridManager.GetGridById($parameters.GridId);
var items = new Array(1).fill(_.cloneDeep({}));
if (gridObj) {
gridObj.dataSource.addRow(gridObj.rowMetadata._grid.rows.length + 1, items);
}
Check this demo: AddBottomRow_POC
I hope this helps you!
Kind regards,
Benjith Sam