Hello Team,
I have a streamlit app that uses streamlit metric. I want to click on the metric to invoke a function to display a table relating to that metric.
how can that be made possible ?
example image
Thanks
Hello Team,
I have a streamlit app that uses streamlit metric. I want to click on the metric to invoke a function to display a table relating to that metric.
how can that be made possible ?
example image
Thanks
Hey @sheneeb!
Thanks for trying out st.metric and welcome to the community! That’s a feature we have on the roadmap (quite often people want to have this for clicking on tables or images) but can’t give you any date for when we’ll get to it. I’ll make sure we also think about st.metric when we work on this!
Cheers, Johannes
Hey good day, has this been implemented now?
Hi @nabeelarshed, this has not been implemented, but feel free to create a product enhancement request here
When will this be implemented? Clickable metric cards would be game changing!
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.