cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Adding multiple rows from grid to datatable

sonali1
6-Contributor

Adding multiple rows from grid to datatable

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
amittal-3
13-Aquamarine
(To:sonali1)

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

Top Tags