I have a table (so far itās been created in Markdown). Iād like to insert checkboxes in my table that control other content (presumably using st.checkbox)
To answer your question, that plotting is in Altair.
I can see how my use case might be helped by 327. Iām likely to comment/upvote in 271, 455 or 688 insteadā¦ commenting here so you can help me if Iāve misunderstood the suggestion for where those issues you linked can help.
There is an existing streamlit widget (st.checkbox) for the box I want to add, and the challenge is getting it into a table.
A feature like #327 would let me write my own table widget in JSX. If I can import the existing st.checkbox and embed it in that table, that would do the trick. But if I couldnāt import other streamlit widgets into my JSX for a table, it doesnāt get me any further than I am right now. I can comment in the issue about that.
Itās less clear to me how the layout issues relate to my current problem. Iām currently getting a somewhat horizontal layout through st.sidebar, and then putting a table there. But Iāve been unable to do is put selectable boxes in that table. I havenāt been thinking of the layout on the page as part of the issue. Think Iāve missed something?
Custom components, the new name for Streamlit plugins, is currently being beta tested, I recall this is a use case currently being implemented in JSX for test reasons so let me add more info there when itās all completed
Hi @Dan_Becker thank you for the post. Have you found a solution ? I have a similar use case where I would like to embed a st.button in a table and it doesnāt seem to be possible for the moment.
Same here in Dec2020, i was looking this function as well, if someone can share it as component i will be very thanks
Hi @Dan_Becker thank you for the post. Have you found a solution ? I have a similar use case where I would like to embed a st.button in a table and it doesnāt seem to be possible for the moment
Hello,
you can use the custom component āstreamlit aggridā, which allows you to select rows in the table using a checkbox.You can find an excellent tutorial on this page. Paragraph 7 just describes the right case
@trnt I did not solve that while that project was live. But if I were working on this now, Iād try the streamlit aggrid project that Dmitriy mentioned.
The little animation in their github README looks slick
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.