# Column Selectors

**URL:** <https://forum.inductiveautomation.com/t/column-selectors/10198>\
**Category:** Ignition\
**Created:** [July 7, 2015, 8:51pm UTC](https://forum.inductiveautomation.com/t/column-selectors/10198 "2015-07-07T20:51:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikehill100](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mikehill100](https://forum.inductiveautomation.com/u/mikehill100)\
**Post date:** [July 7, 2015, 8:51pm UTC](https://forum.inductiveautomation.com/t/column-selectors/10198/1 "2015-07-07T20:51:50Z")

</div>

Hello everybody!

Quick question:

I have two similar tables with different aggregate grouping on a screen in v 7.5.4 and it would be great if I could use one column selector to select the columns on both tables.

Does anybody know a slick way to drive both tables?

Just a shot in the dark.

Thanks!

- Mike

---

<div class="post-metadata">

**Author:** ![WildeKurt](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@WildeKurt](https://forum.inductiveautomation.com/u/WildeKurt)\
**Post date:** [July 10, 2015, 1:23pm UTC](https://forum.inductiveautomation.com/t/column-selectors/10198/2 "2015-07-10T13:23:34Z")

</div>

The following is based on two tables (Table and Table 1). Placing this code into the mouseReleased event of Table will case the other tables selected column to follow:

```auto
if event.source.selectedColumn >= 0:
	event.source.parent.getComponent('Table 1').selectedColumn = event.source.selectedColumn
```

Hope that helps.
