Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrd FilterEditor validation

    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?
    Attached Files
Working...
X