by ellenmeserow » Sat Jan 25, 2020 1:15 am
Hi Andrei,
I have attempted to use the controller and the elements foundset to select the rows but both seem to be ignored. As you point out powergrid uses a dataset and not a foundset and I think this might be the root of the issue we are seeing.
We have two issues were trying to solve.
1) We want to select a specific row on data load or some event.
2) keep the selected row when we need to reload the data in the grid.
We were able to solve the second issue by adding a property to the current powergrid that accepts a function to set the getRowNodeId function of ag-grid and setting the deltaRowDataMode option to true. But we still have the issue where we would like to set a specific row to selected on load or some other event. As far as I can tell there doesn’t seem to be a way to do that with the current grid.
Any advice would be appreciated.
Thanks,
Ellen
ellen escarcega (formerly meserow)
meserow design
Servoy 2019 9
MSSQL 2017
Windows AWS Servers