Open Alessandro201 opened 1 year ago
+1
+1 ! Out of curiosity and reproductiibility, what streamlit version are you using ?
For me, with streamlit==1.21.0 and streamlit==1.22.0, going to streamlit-aggrid==0.3.3 solves the pagination issue, but creates another one with the "ExcelBlob' key in AgGrid, on multiple selection.., can't figure out why....
Has anyone found the root cause?
It appears that the issue described here is related to #210 and can be solved with the solution described there.
I'm on version 0.3.4.post2.
If I set up the pagination while also choosing a grid height, the pagination will not show up. While, if I don't select any height, it works fine. On version 0.3.3 this issue is not present.
0.3.4
0.3.3
Possible causes
While trying to figure out why, I saw this line in init.py, which makes me think that this issue is the opposite of #97: https://github.com/PablocFonseca/streamlit-aggrid/blob/819e9a9bc85b316f1d686a354506a4cd50818d63/st_aggrid/__init__.py#L362-L365
In my case, if I don't set any height,
dom_layout
defaults toauto_height
and pagination works. In that issue, ifauto_height
was set then it didn't.Example code
This is the example code that generated the images above.