My use case is to create a table which initally has some static values filled but based on few input parameters from the slider the values in the table should change dynamically.
Also I have another usecase looking forward to be implemented. Can we have some kind of customizable text boxes or flash-cards kind of a thing where we can dynamically change the inputs?
It is about filtering based on sliders, not changing table values, but the basic idea is the same.
Depending on your usecase, you may also need to look into session state (see e.g. Multi-page app with session state) for saving the changes you make to the table.
For the second part of your question, streamlit does have text boxes, but I do not know if they meet your needs, you will have to be slightly more specific about what you are envisioning. See API Reference - Streamlit Docs
Let me know if it helps or if you have further questions!
Yes so basically second part of my question is - I wanted to have a text box - not an input box where the values inside the box change based on the slider value . Nothing is input from the user. Jst a rectangular text box inside which I can add sliders and text representing some values related to that slider. Is that possible?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
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.
Performance cookies
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.
Functional cookies
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.
Targeting cookies
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.