Closed Liripo closed 8 months ago
Hello @Liripo,
The serverSide rowModel doesnt come with this connection, it doesn't like the extra stuff in the request for some reason.
Here is a way that you can create your own.
https://community.plotly.com/t/serverside-rowmodeltype-in-dash-aggrid/76876/8?u=jinnyzor
Please note, the steps that I did here for getting the grids api are unnecessary and should be replaced with a simple:
grid = await dash_ag_grid.getApiAsync(id)
if (grid) {
...
}
Hello @BSd3v It seems complicated. It would be great if some APIs could be provided in the python module.
Infinite and serverSide rowModels are more complex, and each use-case is different.
Infinite rowModel will work in most cases, unless you need info about rowGroupings, etc. Infinite will automatically give the getDetailRequest property available for the callback.
Regardless of which you choose, you will have to determine your filtering and sorting mechanism in python.
Infinite might fit your needs then.
Oh, okay, just realized.
Currently, I can't seem to get the code below to work.