Custom Component Callback before rerun

I was wondering if it is possible to have a callback function for custom components that gets executed before the entire page is rerun, much like the “on_click” callback for regular buttons. I did some research but couldn’t find anything.

For context: I am currently trying to create a custom component for tables with clickable entrys, and it would be more efficient to evaluate the click before rerunning the entire streamlit app.

Many thanks in advance :wink:

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