The filterEditor in ListGrid always process validation with the DataSource Field.
I have a field which set a unique validator in ds :
<field name="CONTACT_CODE" length="20" type="text" align="left">
<validators>
<validator type="isUnique"></validator>
</validators>
</field>
I set the setValidateOnChange to false
ListGridField codeField = grid.getField("CONTACT_CODE");
codeField.setValidateOnChange(false);
Whenever I key-in the value in filterEditor with an code, the error isUnique is shown as the Attachment.
Is it possible to disable it?
I have a field which set a unique validator in ds :
<field name="CONTACT_CODE" length="20" type="text" align="left">
<validators>
<validator type="isUnique"></validator>
</validators>
</field>
I set the setValidateOnChange to false
ListGridField codeField = grid.getField("CONTACT_CODE");
codeField.setValidateOnChange(false);
Whenever I key-in the value in filterEditor with an code, the error isUnique is shown as the Attachment.
Is it possible to disable it?