# Datatable (export the whole table and not the current view)

**URL:** <https://community.plotly.com/t/datatable-export-the-whole-table-and-not-the-current-view/30549>\
**Category:** Dash Python\
**Created:** [October 28, 2019, 12:30pm UTC](https://community.plotly.com/t/datatable-export-the-whole-table-and-not-the-current-view/30549 "2019-10-28T12:30:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Sempah](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Sempah](https://community.plotly.com/u/Sempah)\
**Post date:** [October 28, 2019, 1:47pm UTC](https://community.plotly.com/t/datatable-export-the-whole-table-and-not-the-current-view/30549/2 "2019-10-28T13:47:44Z")

</div>

Hi Hadisotudeh,

Interesting question! The user guide explicitly states that when the table is edited the export function will export a view of the table. So this is expected behavior.

Perhaps it’s an idea to export the dataframe directly to xlsx and not use the datatable for this particular matter. Just use a regular export to excel. I advice to use the same source for this. So make a dataframe that creates the datatable and also is available for export.

Good luck!

---

_[View the full topic](https://community.plotly.com/t/datatable-export-the-whole-table-and-not-the-current-view/30549)._
