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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Adding multiple rows from grid to datatable

sonali1
10-Marble

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
14-Alexandrite
(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

Announcements


Top Tags