:: Forum >> Version 2 >>

what event is triggered after an edit?

i have been reading posts on this forum and wondering if there is any updates/answers to this earlier post, regarding how to trigger an event after you change data in the table?

/javascript.forum.8249.7/trigger-an-event-after-edit.html

i tried onSelectedChanged, onCurrentChanged and onItemTextChanged. None of them seem to be called after a cell has been edited (want to do user data validation).

the only thing that works was onCellDoubleClicked which is triggered BEFORE the user's editing so that doesn't do the job.

thanks
heidit
Friday, November 11, 2005
Try putting something in the onkeypress and look for the ENTER key as you have to hit ENTER in order to save your data. I have not tried it but it should get you there for now, until there is an official way to do it.
Jim Hunter
Friday, November 11, 2005
Hi Jim,
I think the ENTER key (to save-edition) is no longer needed (fixed in Beta2).
Trying to do some validation, I was able to fire an alert after edition by adding a single line to a copy of the AW.Templates.Input ,but it's not enough (cause the "non-desirable-data remains in the cell after the alert ), I can change it with '######' , but same result.
Thats why I open a new post:
http://activewidgets.com/javascript.forum.8701.0/how-to-fire-cell-edition.html
Thanks
Carlos
Saturday, November 12, 2005
Anyway, found the default event (but I think buggi somewhere cause it's fired twice)
obj.onCellTextChanged=function(){alert('data changed')}
Carlos
Sunday, November 13, 2005
You can try onCellValueChanged also...
Gregoire
Sunday, December 18, 2005



This topic is archived.

Back to support forum

Forum search