# Power Table save custom user tables

**URL:** <https://forum.inductiveautomation.com/t/power-table-save-custom-user-tables/78068>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 18, 2023, 9:45am UTC](https://forum.inductiveautomation.com/t/power-table-save-custom-user-tables/78068 "2023-08-18T09:45:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tjark\_Sterk](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@Tjark\_Sterk](https://forum.inductiveautomation.com/u/Tjark_Sterk)\
**Post date:** [August 18, 2023, 9:45am UTC](https://forum.inductiveautomation.com/t/power-table-save-custom-user-tables/78068/1 "2023-08-18T09:45:11Z")

</div>

Hey, I have a power table with a lot of different columns where the user only needs some of them depending on the circumstances. I know that the user can right click on the table to hide certain columns. Is there a way I can save this data so that the user doesn't have to manually hide the columns each time but rather select the columns she wants one time, save that and in futere be able to just select the new table trough a dropdown menu.  
Thank you

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [August 18, 2023, 11:20am UTC](https://forum.inductiveautomation.com/t/power-table-save-custom-user-tables/78068/2 "2023-08-18T11:20:02Z")

</div>

I have an example of a way to do this here:

> [@\[8.0 Vision Client\] Power Table - saving column order/sizing](https://forum.inductiveautomation.com/t/8-0-vision-client-power-table-saving-column-order-sizing/31793/5):
>
> I suppose the easiest route to achieve this would be to use something like the parent window's internalFrameClosed event handler. Then, just simply throw all of the column information into a dictionary that you save to the database. Example: userName = system.security.getUsername() powerTable = system.gui.getParentWindow(event).getComponentForPath('Root Container.Power Table') table = powerTable.table columnModel = table.columnModel columnProperties = {str(column.identifier): {'location': col…

This example uses a tag because that's what the OP wanted, but in my practice, I would use a database for this sort of thing.
