I have a grid that I want to show contents of a related foundset (detail from a master type).
I want to allow multiple selection in the grid.
I do not know how to get the multiple selected rows from the grid - or the equivalent of the selected indexes from the foundset that correspond to the multiple rows selected in the grid.
I thought I only had to set the related foundset property to allow mutliple selection - but this does not work in the grid - still does single selection.
I then thought I have to set the grid option rowSelection=‘multiple’ in the grid property. In the UI this does allow multiple selection but I cannot get the rows or the selected records from the grid - the ag-grid api seems not to be implemented?
I thought I should combine the two (in the foundset and in the grid) but nope.
If anyone has done this I would appreciate it.
This should be documented but I cannot find it in any searches.
The only search I found is in the ag-grid documentation to use their api to getSelectedNodes or rows.
Using Servoy 2020.12.3263
Tom