Hi all,
I have problem to validate the editable cells in the EditorGridPanel.
Since we are having, textboxes and other form related widgets, I can
use setAllowBlank(false) and other validations.
But in grid panel I am using (
Record[] records = gridPanel.getStore().getModifiedRecords();
String[] fields = gridPanel.getStore().getFields(); ) these methods,
When user clicks on button to send RPC request to update the records.
So, here I cannot use getForm().isValid() before communicating with
database. I am aware of doValidateEdit method in
EditorGridListenerAdapter. But here I need to perform validations
manually for each column and using a global variable.
Is there any other way to validate all the editable cells in a grid
panel at a time, when user clicks on update button and stopping RPC
call if validation fails?
Please any one help me in this
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---