Announcements
No record found.
Hi ,
I want to get the selected rows from grid control,
Hi Basma,
Use MultiSelectionHelper class to iterate all selected records.
Example code:
MultiSelectionHelper selectionHelper = MultiSelectionHelper::construct(); Set selectedRecords = new Set(Types::Record); MyTable myTable; super(); selectionHelper.parmDataSource(MyTable_DS); myTable = selectionHelper.getFirst(); if (myTable.RecId) { while (myTable) { selectedRecords.add(myTable); info(strFmt("Selected record is %1",myTable.myField));//Display selected record myTable = selectionHelper.getNext(); } }
HI,
I used it , but I get this message :
"The name 'MultiSelectionHelper' does not denote a class, a table, or an extended data type".
HI Basma,
Have you added reference package Application Common?
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 681
André Arnaud de Cal... 448 Super User 2026 Season 1
Syed Haris Shah 218 Super User 2026 Season 1