I have a gallery which filter depending on the dropdown values.
So i need to Update all the records to the Existing Datasource which gallery listed outs. So in my point Both Read and write the record takes place from the same dataSource. So edited records need to update by replacing the existing record in the Datasource to the particular row.
My Screen:
I have this Function in ONSelect of the Submit button:

The error i faced is, it updates one row at a time. So i need to update all the items in the Gallery list.
DataSource: aaaa
