Skip to main content
1-Visitor
December 12, 2019
Question

Adding multiple rows from grid to datatable

  • December 12, 2019
  • 1 reply
  • 1144 views

I want to add multiple rows from a grid into the datatable at a single "submit button" click.

Please provide the steps to acheive the scenario.

1 reply

1-Visitor
December 12, 2019

Hi,

Since you want to add rows from Grid (from Mashup), first thing I assume that you have the same datashape (columns) in the grid as well as in your DataTable.

I would also suggest to use Advanced Grid (extension available on Marketplace) instead of normal grid. With advanced grid you have the possiblility that you can bind 'selected rows' from the grid widget to the default service available for Data table which is AddDataTableEntries. So you can bind selected data from your grid to the DataTable service.

This is probably the simplest way. Otherwise you can write your custom service to do that.

Hope it helps!

Thanks

Aditya