I use this work around, but I could not figure out how to give a name to the column which holds the check box. Is there a way to make this possible? Otherwise it is very hidden and not obvious.
I dont know if I fully follow your question, but I basically display lets say 5 columns of my table, where 5th is “Show Details” and thats a check box, when you click the box then a panel underneath gets displayed with the rest of the info - Im not sure if youre asking about the code or just the concept
Hi,
it all works perfectly fine. The only thing I would like to achieve is having a name for the checkbox column. Currently the name of the column is empty.
The left column in the screen shot is my checkbox column. But there is no title for this column, like the next column called ‘ID’?
in your case I would use data.editor (st.data_editor - Streamlit Docs) and in column.config you can choose which column you want to use as a check box and declare as such in config_column (then you can name it whatever)
like in this example they have in documentation:
In the end, my problem is that I have more than 10 links per row and I do not know how to show this in a nice way. Therefore, the idea of having a modal window is great. And selecting a row and showing the right links depending on the selection works perfectly fine. My users just do not know that they can do it, as the column header is empty.
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.