PDA

View Full Version : RowEditor - EditorGridPanel - afteredit



filipk
4 Feb 2010, 4:19 AM
Hello,

I'm using the RowEditor plugin and everything works as expected under simple scenarios.
The field editors I'm using are:
- textfield(s)
- numberfield(s)
- combo

I need to to do some data manipulation after editing certain cells as 3 of them are linked due to business logic in my application, however if I define "afteredit" listener on the grid the handler function is not called.
When I remove the roweditor plugin, the handler is called and functions as expected.

Is this a shortfall of the roweditor plugin or do I need to wire up additional listener somewhere?

Any help would be much appreciated.

4 Feb 2010, 2:33 PM
I would look at the roweditor itself and see what events it publishes that you can subscribe to.

filipk
5 Feb 2010, 5:57 AM
none of the events published are useful in this scenario
I tried extending the RowEditor by forwarding the grid.afteredit to a function defined within the GridEditor but still no luck
can anyone suggest possible solution/point me in right direction?

buzux
4 Jun 2010, 7:35 AM
Hi, did you find a solution?

filipk
7 Jun 2010, 2:32 AM
Yes I did, I ended up exposing another event in the editor "fieldChanged",
updated file attached
HTH Filip