# Hide Columns in Reporting Plug-In Table

**URL:** <https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383>\
**Category:** Archived Topics\
**Created:** [November 19, 2009, 4:26pm UTC](https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383 "2009-11-19T16:26:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david\_mccutchen](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@david\_mccutchen](https://forum.inductiveautomation.com/u/david_mccutchen)\
**Post date:** [November 19, 2009, 4:26pm UTC](https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383/1 "2009-11-19T16:26:00Z")

</div>

I have a column selector and a report. I would like to hide the “not selected” columns. How can this be accomplished in the report viewer table?

---

<div class="post-metadata">

**Author:** ![MickeyBob](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@MickeyBob](https://forum.inductiveautomation.com/u/MickeyBob)\
**Post date:** [November 19, 2009, 9:02pm UTC](https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383/2 "2009-11-19T21:02:13Z")

</div>

David,

The column selector only filters the columns of a dataset, as you may already understand.

Unfortunately, the columns that you define on a Report Viewer table are static and do not change dynamically with the dataset to which it is linked.

The upshot of this is that there doesn’t seem to be an “easy” way to dynamically alter which columns are shown in a Report Viewer table.

However, there may be a way to manipulate the Report Viewer table with code. It’ll take some experimentation on my part to possibly come up with a solution. In the mean time, the IA guys may have a trick up their sleeves or know of an easy/obvious way of achieving what you want.

---

<div class="post-metadata">

**Author:** ![MickeyBob](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@MickeyBob](https://forum.inductiveautomation.com/u/MickeyBob)\
**Post date:** [November 25, 2009, 8:17pm UTC](https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383/3 "2009-11-25T20:17:06Z")

</div>

David,

Here’s a simple example of manipulating a Report Viewer table in coordination with a column selector.

It’s not very sophisticated in that it doesn’t change formatting, control column order, change column widths, etc.

If there is additional functionality that you need or desire, let me know and if I have the time I’ll try to figure out a way to do it.  
[DynamicTableDemo.fwin](https://us1.discourse-cdn.com/inductiveautomation/original/1X/5d19b41c16f2813d359c90680902fe3c438df957.fwin) (23.9 KB)

---

<div class="post-metadata">

**Author:** ![Parker.Smith](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Parker.Smith](https://forum.inductiveautomation.com/u/Parker.Smith)\
**Post date:** [January 30, 2018, 2:49pm UTC](https://forum.inductiveautomation.com/t/hide-columns-in-reporting-plug-in-table/1383/4 "2018-01-30T14:49:20Z")

</div>

File no longer found - at least, I could not download it.

Not critical - I was just interested!
