I am trying to validate a datagrid before I allow the user to click the 
submit button.  I am adding a cell editor for each cell with a 
validator.  On the change event in the cell renderer I validate the 
cell and set a variable "valid" in the cell renderer.  In the datagrid 
I capture the cell edit end event and access the valid variable in the 
cell editor and store it's value in a validation array.  I then check 
the validation array to see if it has any invalid values and if so 
disable the submit button.  The problem I have with this is the 
validator in the cell editor does not execute until after the cell edit 
end event.  So I do not get the proper status.  Does anyone have a 
better way of doing this or have a code sample on how to do this?

Reply via email to