I just implemented Ag-Grid as a custom component, just for testing. I followed some tutorials and despite the result being far from production code, I liked it and I’m planning to use it on some personal small projects.
I’d like to mention I’ve zero experience with react or front-end development. Also, programing is more a hobby than a job. So, I expect there is room for lots of improvement on the code I wrote.
Thanks a lot for sharing your streamlit-agGrid , I see lots of users on the forum looking for an alternative interactive datagrid, so if it solves your problems I’m pretty sure this will help other users as well !
(Also I peeked under the hood and wow, for a first time Python+React development you got a lot of things right!)
Bonus suggestions if you have some time for this:
Are you maybe able to record a small GIF to show people how it works ?
We are multiple component creators to share a demo of the component on Streamlit Share, have you considered building a demo there for those who don’t know what’s ag-grid ?
Are you able to edit the Component Tracker with your newly created component ? This helps us keep track of everything the community built
Anyway, great work, I’m looking forward to using it, and maybe contribute …
This looks super promising. I managed to get it to work locally but I’m struggling deploying it using pipenv. I get the following error:
ERROR: Could not find a version that matches streamlit-aggrid (from -r /var/folders/g_/td0tdmf14_d_vg1lkn9zbd_c0000gp/T/pipenvel8uovqwrequirements/pipenv-78j7apf0-constraints.txt (line 3))
No versions found
Was https://pypi.org/simple reachable?
Wow, this is awesome!
Is it possible to style the cell? I try to use df.style but doesn’t work (AttributeError: ‘Styler’ object has no attribute ‘to_json’)
Not yet… I had to spent sometime fixing pypi deployment. I’ll take a look into that later this week. If anyone wants to take a shot first, solution is somewhere here https://www.ag-grid.com/javascript-grid-export/
And the selectable checkbook to the left would be a great feature too. It’s already available with the selectable data component library but combining everything together would just make sense at this point.
I’ve updated the pip install and now your component doesn’t seem to be working anymore - see the issue I have when trying to run one of your files below:
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.