Avoid performing server request on row grouping in server side model for ag grid

Viewed 28

I have implemented a server side table, with row grouping, using ag grid. The table makes a request to server for the time to load groups, but when you manually open a group it makes another request. There is a way to send the rows for each group in the first request?

In my application I need the ability to expand or collapse all groups manually, but it is a bit annoying to perform a request to server for each possible group.

If I try implementing a client side model and setting data rows like gridOptions.api.setRowData(data) and works, but if I change rowModelType: to 'serverSide' in gridOptions and configure serverSideDatasource sending the same data used in the client side model it doesn't work.

I have find a partial solution here.

Thank you for your help.

0 Answers
Related