Dash Ag Grid - Save Table Button

preview_player
Показать описание
I'll show you how to add a save data to csv button to your Dash AG Grid table.

The Code:

Plotly Forum:

Checkout my book - The Book of Dash:

Video layout:
00:00 - Intro & code
03:15 - Accessing path of files
05:15 - Dropdown of datasets
07:17 - Layout of app
10:25 - Get table data callback
13:16 - Save table data callback
19:21 - Final remarks & future videos

************************************************************************
👉 Your support keeps Charming Data running, which is proudly a 100% member-supported educational channel:
Рекомендации по теме
Комментарии
Автор

Hey, I just want to thank you. I was such a noob programmer when I started using dash ag grid, I asked a lot of questions, and probably even complained... and I see you answered some of them (youtube didn't alert me, I realized because I came back to this video). The tech is amazing, your tutorials are great. Thank you!

TheLKStar
Автор

Thanks for the tutorials. Best stuff on the dash topic! I'm surprised nobody asked you how to export/save csv with changes made to the ag-grid, like assigned headerName to a column, that differs from field or other manipulations with the data. If you search for a topic for videos I would really appreciate a deeper dive into the csvexportsparams.

cybernatio
Автор

please change the IDE to vs code or change the theme of the pycharm to something darkish and increase the font size so that we can easily see the code without much strain

venkat
Автор

Hi Adam, for some reason I was not able to get the dropdowns working in the way you explaned using "agSelectCellEditor". However, it was perfectly fine following the procedure explained in the ag-grid documentation using "cellEditor": {"function": "DMC_Select"} in combination with dashAgGridFunctions.js file in the assets folder. As always, thank you!

rodrigocorrea
Автор

Patch, multipleOutput! Since you might be more in touch with the devs...is dash really becoming more of a general fronted python software? Cause that seems very viable now..

davidm
Автор

Instead of CSV, I'm viewing data from a PostgreSQL DB in Dash Ag Grid. What's the best way to update the DB according to user changes on the Dash Ag Grid?

TheLKStar
Автор

I have an application where it basically has 4 pages. the Index, the app and page 1 and page 2. On page 1, I have a dash data table with operational assumptions (inputs from users) of a company's operation, such as quantity sold, unit price. This page 1 is basically for input and updating of these assumptions by the user. On page 2, I have another dash data table that needs access to these rows on dash data table from page 1. On page 2, when i get an access to this new data frame, the dash data table will automatically receives in its first two lines (for example) the same two lines of the table that is updated on page 1 (assumptions that user had updated). then, the dash data table from page 2 with this new data will calculate an update dataframe and show a new dash data table with new calculates. Do you recommend me any material that serves as an example to read or someone who has already done something similar?

Bolamagica
Автор

You are the best. I mean the fucking best. I literally have about 500 friends who have joined your channel. I have a question though, please is it possible to work with dash bootstrap offline? If yes, please work me through. Thanks and God bless you

bakaresegun
Автор

tbala dag.AgGrid hay una forma de solo ponerle color al fondo de las cabeceras y cabiar el color de su texto solo de ellos

LuisLopez-scqc