# Way to customize a column to have check boxes or text in a Power Table

**URL:** <https://forum.inductiveautomation.com/t/way-to-customize-a-column-to-have-check-boxes-or-text-in-a-power-table/61516>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [July 5, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/way-to-customize-a-column-to-have-check-boxes-or-text-in-a-power-table/61516 "2022-07-05T13:05:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carly\_Jankowski](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@Carly\_Jankowski](https://forum.inductiveautomation.com/u/Carly_Jankowski)\
**Post date:** [July 5, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/way-to-customize-a-column-to-have-check-boxes-or-text-in-a-power-table/61516/1 "2022-07-05T13:05:40Z")

</div>

I have a power table that will have two columns that look like the following:

```auto
viewedColumn hiddenColumn
===================================
checkBox NULL
checkbox NULL
invoice1 invoice1
invoice2 invoice2

```

My second column will be hidden from user but the data will be used to drive the behavior of the column that is seen. If the value of the second column is NULL, I want to display a checkbox that the user can click in the first column, if the second column has a string value, I want to display that string value (which will not be editable by the user). Is this possible with a power table?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 5, 2022, 4:30pm UTC](https://forum.inductiveautomation.com/t/way-to-customize-a-column-to-have-check-boxes-or-text-in-a-power-table/61516/2 "2022-07-05T16:30:24Z")

</div>

Many things are possible with a power table. In this case you will want to use the `configureEditor` and `configureCell` functions to create your own checkbox editor/renderer, respectively. E.G., in `configureCell`, something like this:

```auto
	if colName == "viewedColumn" and self.data.getValueAt(rowIndex, "hiddenColumn") is None:
		from javax.swing import JCheckBox
		return {'renderer': JCheckBox(selected=textValue == "true")}

```
