Created
May 25, 2022 16:44
-
-
Save CharlyWargnier/4d4eb0570005b69b11811b1295f20446 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gd = GridOptionsBuilder.from_dataframe(df) | |
# Adds pagination | |
gd.configure_pagination(enabled=True) | |
# Adds editable cells | |
gd.configure_default_column(editable=True, groupable=True) | |
# Enables multi-select in the dataframe | |
gd.configure_selection(selection_mode="multiple", use_checkbox=True) | |
gridoptions = gd.build() | |
grid_table = AgGrid( | |
df, | |
gridOptions=gridoptions, | |
update_mode=GridUpdateMode.SELECTION_CHANGED, | |
theme="material", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment