Returns current grid selection.
getSelection()
Returns array.
Description
This method returns an array of recids for all currently selected records in the grid. When you add records you need
to provide unique .recid for each record.
If you have grid defined in the following way:
You can get selected records: