# CSV Export of Current Data Grid

**URL:** <https://community.glideapps.com/t/csv-export-of-current-data-grid/75020>\
**Category:** Ask for Help\
**Created:** [July 19, 2024, 3:44pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020 "2024-07-19T15:44:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [July 19, 2024, 3:44pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/1 "2024-07-19T15:44:37Z")

</div>

Is it possible to export the current data grid to CSV? With any data filters applied? So the CSV would match the data displayed in the data grid in the app.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 19, 2024, 3:48pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/2 "2024-07-19T15:48:29Z")

</div>

You’d need to create custom filters that ultimately filters the data in the data editor (using a query most likely). Then you can use the query for both the table component and the CSV action.

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [July 19, 2024, 3:49pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/3 "2024-07-19T15:49:48Z")

</div>

Thanks Robert, that’s what I thought but wanted to check I wasn’t missing anything.

Would be nice to have the option to export the data grid as is.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 19, 2024, 3:52pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/4 "2024-07-19T15:52:38Z")

</div>

Agreed.

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [July 19, 2024, 4:25pm UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/5 "2024-07-19T16:25:05Z")

</div>

When using the generate CSV and open link in the action editor to download the CSV it works in the app builder on Chrome.

But when trying this in our Mac safari based apps it doesn’t download the CSV instead it opens it in a new window as a text file.

Any ideas?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 20, 2024, 12:35am UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/6 "2024-07-20T00:35:20Z")

</div>

> [@Curtis](#):
>
> But when trying this in our Mac safari based apps it doesn’t download the CSV instead it opens it in a new window as a text file.

It’s a known Mac thing (for safety). I don’t think we have a straightforward fix we can do as devs.

> **[Working with CSV Files on the Safari Browser](https://support.thinkreservations.com/support/solutions/articles/48000986594-working-with-csv-files-on-the-safari-browser)**
>
> If you are using the Safari internet browser, you may notice that when you download your customers or export a report, the browser will show the information instead of downloading it. Safari is designed to handle raw data inside of the browser...

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [July 22, 2024, 10:20am UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/7 "2024-07-22T10:20:30Z")

</div>

Ok thank you, this is a good manual work around.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [July 29, 2024, 10:20am UTC](https://community.glideapps.com/t/csv-export-of-current-data-grid/75020/8 "2024-07-29T10:20:51Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
