# Power Table Stray Typing

**URL:** <https://forum.inductiveautomation.com/t/power-table-stray-typing/18975>\
**Category:** Ignition\
**Created:** [July 25, 2018, 9:50pm UTC](https://forum.inductiveautomation.com/t/power-table-stray-typing/18975 "2018-07-25T21:50:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 25, 2018, 10:21pm UTC](https://forum.inductiveautomation.com/t/power-table-stray-typing/18975/2 "2018-07-25T22:21:46Z")

</div>

Hmm, looks like the ‘edit click count’ field isn’t doing what it’s supposed to. Try this, in `configureEditor`:

```auto
	from javax.swing import DefaultCellEditor, JTextField
	from java.lang import String
	from java.awt.event import MouseEvent
	
	class CustomCellEditor(DefaultCellEditor):
		def isCellEditable(self, event):
			if isinstance(event, MouseEvent):
				return DefaultCellEditor.isCellEditable(self, event) and event.getClickCount() >= 2

	if self.data.getColumnType(colIndex) == String:
		return {'editor': CustomCellEditor(JTextField())}

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/power-table-stray-typing/18975)._
