`getSelectedNodes` and `getSelectedRows` functions cannot be used with `groupSelectsChildren` and the server-side row model. Use `api.getServerSideSelectionState()` instead.
ValidationModule
.The following documentation pages should provide additional context / guidance on how to resolve this error.