dash-docs icon indicating copy to clipboard operation
dash-docs copied to clipboard

Missing DataTable download docs

Open chriddyp opened this issue 5 years ago • 5 comments

would be good to follow up with https://community.plotly.com/t/allow-users-to-dowload-an-excel-in-a-click/9410/22 once this is written

chriddyp avatar May 02 '20 02:05 chriddyp

I am thinking of adding "Export Options" on sidebar under datatable section in docs and then adding examples and commands for the same, but I don't have an idea of approaching it. How should I do it? @chriddyp

avats-dev avatar Jul 08 '20 02:07 avats-dev

Good idea @avats-dev ! The community would be very grateful for your contribution.

To add a new chapter, create a new dictionary here: https://github.com/plotly/dash-docs/blob/dc754d5a2e20a13ae8e245e373f11fe5bc436a28/dash_docs/chapter_index.py#L469-L477. Each dictionary represents a chapter. These chapters will automatically appear in the sidebar.

Then, author the chapter in a new folder in https://github.com/plotly/dash-docs/tree/master/dash_docs/chapters/dash_datatable called "export". Create a file called index.py that has the layout variable assigned to it.

See the other chapters in the dash_datatable folder for inspiration.

chriddyp avatar Jul 08 '20 03:07 chriddyp

Thanks @chriddyp for the help , I'm working on it. Will update soon!!

avats-dev avatar Jul 09 '20 14:07 avats-dev

I think this issue can be closed : https://dash.plotly.com/dash-core-components/download (go to Download Dataframe as Excel file section).

However, something bother me in the .xlxs extension that I refer to in #1151

adrienpacifico avatar May 31 '21 17:05 adrienpacifico

@adrienpacifico this issue is still open, it's about documenting the clientside export feature of dash_table.DataTable - controlled by the props export_format, export_columns, and export_headers

alexcjohnson avatar Jun 01 '21 18:06 alexcjohnson