:: Forum >>

How can I trap a cell onchange in grid with IE?

Hi all-
I'm using DOM and prototype to bind events so that I can catch updates in my grid - like so:

var c = this.dataGrid.getCellTemplate(col, row); c.setEvent("onchange", this.cellChanged.bindAsEventListener(this, col, row));

(cellChanged is a js function)

works great in firefox but not IE - onclick, keypress etc. fire after a single character change so aren't helpful.

any ideas?
thanks
Max
Max Tomlinson
Friday, August 24, 2007
Use either onCellTextChanged to fire on each character on onCellValidated on the edit completion.
Alex (ActiveWidgets)
Monday, August 27, 2007
Alex-
Do you have a snipper for this? I still can't get it to work. I'm trying to use
bindAsEventListener and it's not being recognized.
thanks
Max
Max Tomlinson
Tuesday, August 28, 2007
Alex - never mind - I found it,
thanks
Max Tomlinson
Tuesday, August 28, 2007

This topic is archived.


Back to support forum

Forum search