Announcements
No record found.
Hi,
I have to Update Multiple selected Records in a Grid by clicking on a button. Any Suggestions please.
Regards,
Ram.
You can use MutliSelectionHelper class to iterate the records. Change values, save each record, refresh the datasource.
By the way, you again picked a wrong category. Please pay more attention to it.
Hi Ram,
You can write method in your click method,
Have a look at this blog:
community.dynamics.com/.../how-to-update-multiple-rows-at-backend-and-refresh-the-ui
As martin said , MutliSelectionHelper class is also a good choice to iterate records.
Refer to the following codes:
CustPaymModeTable custPaymModeTablelocal;
MultiSelectionHelper helper = MultiSelectionHelper::construct();
helper.parmDatasource(custPaymModeTable_ds);
custPaymModeTablelocal = helper.getFirst();
while (custPaymModeTablelocal.RecId != 0)
{
info(custPaymModeTablelocal.PaymMode);
custPaymModeTablelocal = helper.getNext();
}
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 653
André Arnaud de Cal... 501 Super User 2026 Season 1
CP04-islander 298