Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional