Per the title, I was wondering if it is possible to copy text from the aggrid table.
Note that I do not mean exactly copying the table in a csv or Excel format - I know that’s an enterprise feature. I just mean selecting some text in a cell, as you would to any text in a website.
I genuinely mean just selecting text in a cell in order to copy it to clipboard. For some reason I am not able to do it with Enteprise features off, and I was wondering if I can do anything about it. Double clicking does not do anything.
Solving my own problem here, per aggrid docs, the options enableCellTextSelection and ensureDomOrder need to be True. So in order to copy cell contents, the config needs to be something like this in Streamlit, in addition to column configuration:
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.