Here's the 2nd part of the video - ruclips.net/video/Zs9-8trPadU/видео.html More more videos with Streamlit AgGrid use cases?Feel free to drop your feedbacks below in the comment section. 👇🏽 Happy Coding ! 😃
Thank you again Jorge, for your such kind words. I'm so sorry for being unable to upload lately. Covid, war and personal commitments made things bit difficult.However, I'll be back with more videos soon 💪🏽. I hope you and your loved ones doing well. Best wishes, stay connected 🤗
I am very glad I watched this tutorial. Thanks. This would really make slicing and dicing data very interactive along with the sidebar filter of Streamlit.
Hi Davis , glad to see you back here , hope you are doing great . Yes, thanks for your feedback 🤗 Indeed , AgGrid adds that advantage to your data frame as you mentioned . Stay in touch and regards Avra
@@Avra_b Actually, i was wondering if you knew if it was possible to edit the data directly in the AgGrid grid and save the cahnges you make. Would it be possible without using Javascript? or would I need to branch out to other languages for that
Hi Avra, Great Explanation I am new to this Streamlit AgGrid. I am currently using this in my POC project. I have a requirement that is I need to change the table size everytime on any column filter change, the reason of that because In case of small no of records, I am getting an empty space below. My requirement is to get rid of that empty space and update the table size on every filter change. Can we achieve that in Streamlit AgGrid?
Great sharing and it is very useful. Just something is wrong here. I follow the code above, but my "Multiple" selection mode doesn't work. Not sure how to solve it. I mean I can't select multiple rows after choosing "Multiple" mode.
Great vid. Real eye opener. How do we build complex filters? I work with financial data and may want eg. top 30% of stocks ordered by price returns and then after passing through the filter show me the stocks in the bottom third of volitility (preferably in a single dataframe). s/o from South Africa
I’m glad that you liked it . If I understood you properly, probably this feature isn’t implemented. do you want something like grouped row ? You can try that using Object.configure_column('colnams', rowGroup=True) Best Avra
Hey thanks , glad that you liked it . I haven’t tried it - but I’m pretty sure , just dumping AgGrid in two columns must be possible . col1, col2 = st.columns(2) with col1: AgGrid(df1) with col2 : AgGrid(df2) Let me know if it works . Best ,Avra
Hi Avra , thank you for the tutorial and your time , I would like to ask you a question , I have a streamlit app and every time I select a new option the table tha was modified get the original values , is there a way to freeze tha table, in a way I can modify the table but keep those changes without refreshing the table after every action with select box or other st component ? Thank you again
Thanks for you feedback . Ofcourse it’s possible . You can save the AgGrid data to any databases such as SQLite or intact send it to Google sheet or Firestore. In my playlist you can find such tutorials as well . Further you can store the data with Streamlit session state . Hope this helps , and let me know how it goes , cheers 🤗🎈
@@dorelia7784 Hey, I haven't made any videos with Sqlite yet, but you can find in my playlist with Firestore or GoogleSheet as database. It's a good suggestoin, I would love to make a video on it. However, I don't want you to wait for it, so , as far as I remember @JCharisTech, has made a video with Sqlite and Streamlit. Please refer to it and I hope it wil be useful for you. Let me know :)
Hi!!! I am looking at selecting specific columns from a aggrid table and exporting it. Can you tell me how to configure the grid to do this in streamlit-aggrid???
Great video, anyways do you have any implements on dashboard showing the graphs,charts, data table, and map and those are interective each other in Streamlit! I hope you feedback soon. Thank you! Keep it up!
Thanks for your feedback! This is a great suggestion. If I understood you correctly - any change on AgGrid interactive dataframe - there would be change in the visualization ( plots etc ) ?
Hello! Thanks for the great tutorial. Do you know how to make only a subset of the columns of the table editable? In your vid you make all of them editable. Thanks!
Hey I'm glad that you liked this video . 🤗 Yes, you can make specific columns editable. For that , you need to specify separately , example : gd.configure_column("your_column_name", editable = True) . Hope this helps ! And Merry Christmas 🎄
Can you create an editable user input table in streamlit? Then that table would be used to do some calculations within the code and some results would be shown. Is this doable in streamlit?
Hi thanks for the suggestion . I think its doable. This video partly covers what you mentioned - Python Web App using INTERACTIVE AGGRID Table connected to GOOGLE SHEET |JavaScript Injection | ruclips.net/video/sOFM334iILs/видео.html Let me know your feedback 🤗
Hi Avra, Great video. I love streamline but Agrid is very slow even on my localhost. It cannot efficiently handle even just 700 rows data. Do you know how I can improve the performance of Agrdi library or it is just currently slow?
Hey thank you for your feedback. Unfortunately, it’s a very common issue reported with AgGrid . I would recommend to use st-AgGrid for smaller datasets ( usually 700 rows should work well ) and ensure a robust alternative while coding blocks related to AgGrid. Incase I come across a solution , I would definitely update since it looks like a common issue . Apologies . Stay in touch , cheers
Great video. Maybe you can answer this. I have a single column grid which is only 1 inch wide or so. However the column header of the column extends to the right as if there are several more columns. Is there a way to get the column head to be the same width as the column itself? Of course not by widening the column but by shrinking the column header. Thanks.
I think this is something you are looking for - Python Web App using INTERACTIVE AGGRID Table connected to GOOGLE SHEET |JavaScript Injection | ruclips.net/video/sOFM334iILs/видео.html Let me know :)
Hi and thanks for making these videos.!!! One question. I'm trying to use AGGRID, I have one column that is editable (COL1), I would like for the user to input into Col1, then it would be multiplied with Col2, and the result would be in Col3, and the AgGrid Table would be refreshed to show all these new values. Any thoughts on how I could do this? I've been researching for 2 days now, and I can't seem to figure it out. Thanks. and please help! please.
Hey , thanks for your feedbacks. I’m pretty sure this is possible as well . Since I’m away from keyboard this weekend, right now can’t share with you the code snippets , but how about trying this very similar workaround I found in the community forum of Streamlit - discuss.streamlit.io/t/ag-grid-component-with-input-support/8108/233?u=avratanubiswas I’m pretty sure it will solve your use case . Let me know . Best
Hey Udit, thanks for reaching out . So do you mean , there's no result on selecting any row / check box ? Probably it's because the update grid model hasn't been used in your code. I'm away from keyboard right now. Probably today later or tomorrow I'll update with the code , that might help you. Let me know how it goes . See you around :)
@@Avra_b yes whenever i use only AgGrid(df), im facing the hang issue such that taking time to render the data and not responding to the functions i clicking in the table and after using grid options and functions now it is working fine. and now im facing an issue in the table pages since the dataset is of 1787 rows intially the pages were 18 and nearly 100 rows each and whenever i move to the last page 18 then the page count increasing to 22 and then 32 and finally 500+ pages with 3 rows each page
dude if you could teach us how to create an inventory and order management web app in streamlit....i have been designing this in streamlit for a month with no success for a client...i wish you could guide me to use dataframes or mysql
Hey thanks for your wonderful suggestion ! Yes, indeed I have no video with sql, probably it's time to create one. However, I created a demo app and a video, Chemical Inventory management, using SpreadSheet, that might be useful for you ? Link - ruclips.net/video/EMZyVWgUU5A/видео.html Let me know :)
Hey thanks ! The link of the video is with Streamlit Python and Google Sheet automation . Check it out :) thanks for your wishes , likewise . Do share the link of your channel , I would love to subscribe and check your content :)
Thanks for your feedback. Unfortunately, this is a common issue reported. I’ll see if there is a plausible way to speed up , will update . Stay in touch cheers .
Here's the 2nd part of the video - ruclips.net/video/Zs9-8trPadU/видео.html
More more videos with Streamlit AgGrid use cases?Feel free to drop your feedbacks below in the comment section. 👇🏽
Happy Coding ! 😃
Hi men, I´m from México and tomorrow I have to show my proyect. Your video gave me confidence to continue programming with Streamlit, tanks a lot!!
Hi Francisco. I’m so happy to listen to this . This keeps me motivated to create more content , thank you for being so kind and stay in touch :)
Excellent and powerful content for easy data management from the user interface. We missed you, regards
Thank you again Jorge, for your such kind words. I'm so sorry for being unable to upload lately. Covid, war and personal commitments made things bit difficult.However, I'll be back with more videos soon 💪🏽.
I hope you and your loved ones doing well. Best wishes, stay connected 🤗
I am very glad I watched this tutorial. Thanks.
This would really make slicing and dicing data very interactive along with the sidebar filter of Streamlit.
Hi Davis , glad to see you back here , hope you are doing great . Yes, thanks for your feedback 🤗 Indeed , AgGrid adds that advantage to your data frame as you mentioned . Stay in touch and regards Avra
Introducing AgGrid is excellent!
Happy to hear !
This is game changer. Thank you so much for this video.
Glad it was helpful! Happy to hear ! Stay tuned !
This really was a great tutorial for what I'm trying to do, amazing job, honestly!
So nice to hear James ! Thank you , stay in touch !
@@Avra_b Actually, i was wondering if you knew if it was possible to edit the data directly in the AgGrid grid and save the cahnges you make. Would it be possible without using Javascript? or would I need to branch out to other languages for that
Super nice video! Thank you very much for the amazing content!!
Glad you enjoyed it!
Great tutorial Avra ! Much appreciate 🙂
Hey thanks for your kind words . Means a lot . Stay in touch , cheers
Very Good intro Avra. Kudos.
I'm glad you like it! Stay tuned ! :)
I really need agrid for my work, thanks for this!
Hi , im glad that it helped you. Stay in touch and good luck with your projects 🤗🎈
Great content like always Avra!
Thank you so much Walter , means a lot 🎈🤗
Hi Avra,
Great Explanation
I am new to this Streamlit AgGrid.
I am currently using this in my POC project.
I have a requirement that is I need to change the table size everytime on any column filter change, the reason of that because In case of small no of records, I am getting an empty space below.
My requirement is to get rid of that empty space and update the table size on every filter change.
Can we achieve that in Streamlit AgGrid?
Yes possible !
Great Video. Very very useful! Thanks a lot!
I’m glad to hear that . Stay in touch 🤗🎈
After editing cab we again save the edited dataframe to excel file
can I add rows using a st button to the aggrid table ?
Great sharing and it is very useful.
Just something is wrong here. I follow the code above, but my "Multiple" selection mode doesn't work. Not sure how to solve it. I mean I can't select multiple rows after choosing "Multiple" mode.
Hi thanks ! I need to look onto it . Perhaps some update with AgGrid ? Is the demo app behaving the same ?
Thank buddy for sharing this
I’m glad to hear Praveen. Stay in touch 🤗
Great vid. Real eye opener.
How do we build complex filters? I work with financial data and may want eg. top 30% of stocks ordered by price returns and then after passing through the filter show me the stocks in the bottom third of volitility (preferably in a single dataframe).
s/o from South Africa
Hey Alexandros , thank you ! It seems a great idea . Let me figure it out if I can cover it in an additional video. I’ll get back to you soon-ish 🤗
Excellent tutorial!!
I want to add collapsible/expandable rows to the table. Can you help me out with it ?
I’m glad that you liked it . If I understood you properly, probably this feature isn’t implemented. do you want something like grouped row ? You can try that using
Object.configure_column('colnams', rowGroup=True)
Best
Avra
What did you end up doing? Do you recall?
Can we have a subgroup at every row and update the subgroup values that summarises at the groups level??
Thanks for this suggestion. Yes it is possible with AgGrid to create subgroups. Perhaps I would come up with a video / blog post . Stay in touch :)
Hii. Great tutorial Avra. Let me ask ya. Is there any way to display aggrid tables side by side? Like a st.columns in streamlit. Thankss
Hey thanks , glad that you liked it . I haven’t tried it - but I’m pretty sure , just dumping AgGrid in two columns must be possible . col1, col2 = st.columns(2) with col1: AgGrid(df1) with col2 : AgGrid(df2)
Let me know if it works . Best ,Avra
hi Avra, if I want to hover a specific column header, how do I implement this? tysm!!
Hi ! I need to check the Aggrid documentation. It would be very similar implementation like the other JS rendering
Hi Avra , thank you for the tutorial and your time , I would like to ask you a question , I have a streamlit app and every time I select a new option the table tha was modified get the original values , is there a way to freeze tha table, in a way I can modify the table but keep those changes without refreshing the table after every action with select box or other st component ? Thank you again
Hi thank you for your feedback. Have you tried session state ? Can that work ?
Thank you! great tutorial!
is its possible to connect aggrid to DB and update the DB through aggrid?
Thanks for you feedback . Ofcourse it’s possible . You can save the AgGrid data to any databases such as SQLite or intact send it to Google sheet or Firestore. In my playlist you can find such tutorials as well . Further you can store the data with Streamlit session state . Hope this helps , and let me know how it goes , cheers 🤗🎈
@@Avra_b Hey! Thanks for the response
i couldn't find a video about update sqlite database through ag-grid
any chance you can help me?
@@dorelia7784 Hey, I haven't made any videos with Sqlite yet, but you can find in my playlist with Firestore or GoogleSheet as database. It's a good suggestoin, I would love to make a video on it. However, I don't want you to wait for it, so , as far as I remember @JCharisTech, has made a video with Sqlite and Streamlit. Please refer to it and I hope it wil be useful for you. Let me know :)
Hi!!! I am looking at selecting specific columns from a aggrid table and exporting it. Can you tell me how to configure the grid to do this in streamlit-aggrid???
Is it resolved ?
Hii avra, thanks for this wonderful video... It there any feature in AgGrid which edit rows in AgGrid tables based on user input ??
AgGrid cells are editable . Enable that feature in your code . If it’s editable user can make inputs . Hope it helps . Stay in touch cheers
Great video, anyways do you have any implements on dashboard showing the graphs,charts, data table, and map and those are interective each other in Streamlit! I hope you feedback soon. Thank you! Keep it up!
Thanks for your feedback! This is a great suggestion. If I understood you correctly - any change on AgGrid interactive dataframe - there would be change in the visualization ( plots etc ) ?
excelent !!
Thanks Daniel 🤗
Hello! Thanks for the great tutorial.
Do you know how to make only a subset of the columns of the table editable? In your vid you make all of them editable.
Thanks!
Hey I'm glad that you liked this video . 🤗
Yes, you can make specific columns editable. For that , you need to specify separately , example : gd.configure_column("your_column_name", editable = True) . Hope this helps ! And Merry Christmas 🎄
Can you create an editable user input table in streamlit? Then that table would be used to do some calculations within the code and some results would be shown. Is this doable in streamlit?
Hi thanks for the suggestion . I think its doable. This video partly covers what you mentioned - Python Web App using INTERACTIVE AGGRID Table connected to GOOGLE SHEET |JavaScript Injection |
ruclips.net/video/sOFM334iILs/видео.html
Let me know your feedback 🤗
@@Avra_b Thanks for the reply. I will check out the video you sent. I really appreciate it.
can we redirect to other page of streamlit app by clicking a column in the table and pass the column value to that page on which we jump?
Do you mean , you would like to add any URL link? Yes that’s possible
@@Avra_b yes, and by passing the value of that clicked element to the other page
hi @Avra this video is helping a lot, but am stuck in middle, can you please help me, my selected_rows showing empty list, help me to slove.
Tell me a bit more
Hi Avra, Great video.
I love streamline but Agrid is very slow even on my localhost. It cannot efficiently handle even just 700 rows data.
Do you know how I can improve the performance of Agrdi library or it is just currently slow?
Hey thank you for your feedback. Unfortunately, it’s a very common issue reported with AgGrid . I would recommend to use st-AgGrid for smaller datasets ( usually 700 rows should work well ) and ensure a robust alternative while coding blocks related to AgGrid. Incase I come across a solution , I would definitely update since it looks like a common issue . Apologies . Stay in touch , cheers
Great video. Maybe you can answer this. I have a single column grid which is only 1 inch wide or so. However the column header of the column extends to the right as if there are several more columns. Is there a way to get the column head to be the same width as the column itself? Of course not by widening the column but by shrinking the column header. Thanks.
Thanks ! Could you figure out the answer ?
Hey Avra, is there any licensing required for the ag-grid? Which features can be used without license for aggrid?
No not necessarily. But I’m sure there are limitations, worth to check their docs
Hello, I would like to edit a field in the DataFrame and save the changed field in a table, is this possible? Do you have something similar?
I think this is something you are looking for - Python Web App using INTERACTIVE AGGRID Table connected to GOOGLE SHEET |JavaScript Injection |
ruclips.net/video/sOFM334iILs/видео.html
Let me know :)
Great presentation!! May I know the code editor that you're using in this presentation?
I’m glad that you liked it . I’m using Visual Studio Code . Stay in touch 🤗🎈
Hi and thanks for making these videos.!!! One question. I'm trying to use AGGRID, I have one column that is editable (COL1), I would like for the user to input into Col1, then it would be multiplied with Col2, and the result would be in Col3, and the AgGrid Table would be refreshed to show all these new values. Any thoughts on how I could do this? I've been researching for 2 days now, and I can't seem to figure it out. Thanks. and please help! please.
Hey , thanks for your feedbacks. I’m pretty sure this is possible as well . Since I’m away from keyboard this weekend, right now can’t share with you the code snippets , but how about trying this very similar workaround I found in the community forum of Streamlit -
discuss.streamlit.io/t/ag-grid-component-with-input-support/8108/233?u=avratanubiswas
I’m pretty sure it will solve your use case . Let me know . Best
It is good edit tables, but how to save it into database.because you have use csv
You can easily download the table as csv . This feature is inbuilt in AgGrid table .
What is this text editor?
It looks so cool 🤓.
Thanks ! Vs code
can we add a column which shows images ?
Yes . I’ll be soon coming up with a video. Apologies for the late reply . Stay in touch 🤗
when i am using st.write(sel_row) it's not showing the selected row. i am not getting any error. Can you please help.
.
Hey Udit, thanks for reaching out . So do you mean , there's no result on selecting any row / check box ? Probably it's because the update grid model hasn't been used in your code. I'm away from keyboard right now. Probably today later or tomorrow I'll update with the code , that might help you. Let me know how it goes . See you around :)
I've updated with the code , github.com/avrabyt/Streamlit-Tutorials-2021-22/tree/main/Streamlit-AgGrid-Usage
im facing hang issue and the dimension of the dataframe is row-1787 and column is 55
Hi what do you mean by hang issue ?
@@Avra_b yes whenever i use only AgGrid(df), im facing the hang issue such that taking time to render the data and not responding to the functions i clicking in the table and after using grid options and functions now it is working fine.
and now im facing an issue in the table pages since the dataset is of 1787 rows intially the pages were 18 and nearly 100 rows each and whenever i move to the last page 18 then the page count increasing to 22 and then 32 and finally 500+ pages with 3 rows each page
i'm trying to drag and drop the rows, to reordering. Someone to help?
Could you figure out?
Are you using the free version of AG Grid?
Yes , it’s a free version .
How to change column background color in St.dataframe. Kindly reply
Streamlit docs have a nice way to do that. Please refer to that :)
Which editor is this?
Hi , generally I use vscode :)
dude if you could teach us how to create an inventory and order management web app in streamlit....i have been designing this in streamlit for a month with no success for a client...i wish you could guide me to use dataframes or mysql
Hey thanks for your wonderful suggestion ! Yes, indeed I have no video with sql, probably it's time to create one. However, I created a demo app and a video, Chemical Inventory management, using SpreadSheet, that might be useful for you ? Link - ruclips.net/video/EMZyVWgUU5A/видео.html Let me know :)
@@Avra_b thanks for reply man, hope your and my channel grows exponentially...but I was asking for STREAMLIT python framework specifically...
Hey thanks ! The link of the video is with Streamlit Python and Google Sheet automation . Check it out :) thanks for your wishes , likewise . Do share the link of your channel , I would love to subscribe and check your content :)
@@Avra_b thanks..this is my gaming channel mostly ruclips.net/channel/UCr0kMWfE9tp9xhKE5idDMOg
how can I display multiple lines in a cell, please?
Not sure - have you checked aggrid docs ?
Is this for free or paid version of aggrid?
Free version
Wow so fast reply!! Thanks a lot!!
@@pmshadow I usually try to . Sometimes I do miss few ...
why is my aggrid df table lagging so badly?
Thanks for your feedback. Unfortunately, this is a common issue reported. I’ll see if there is a plausible way to speed up , will update . Stay in touch cheers .
Sabia que não dava para confiar
Neither I
Grid Too Slow Bro
Im sorry . That’s true with AgGrid - Streamlit component .