Limit number of multiple selections

Hello all, I was wondering if there is a way to limit the user to select up to a specific number of rows, when the select model is “multiple”?
here is my sample code:

gd2 = GridOptionsBuilder.from_dataframe(df)
gd2.configure_pagination(enabled=True)
gd2.configure_selection(selection_mode="multiple", use_checkbox=True)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.