# Close a datagrid?

**URL:** <https://forum.kirupa.com/t/close-a-datagrid/303658>\
**Category:** flash\
**Created:** [January 24, 2010, 5:09pm UTC](https://forum.kirupa.com/t/close-a-datagrid/303658 "2010-01-24T17:09:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavlis](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@pavlis](https://forum.kirupa.com/u/pavlis)\
**Post date:** [January 24, 2010, 5:09pm UTC](https://forum.kirupa.com/t/close-a-datagrid/303658/1 "2010-01-24T17:09:34Z")

</div>

Can someone tell me how to close a datagrid?

In my app the grid is generated dynamically when a frame is entered. When I leave that frame I need to be able to close the dg.

I have not been able to figure out how to do that and the dg stays on the screen no matter what other frame is accessed.

Thanks.
