Hi Isomorphic ,
I am trying to apply validation on a listgrid field. The list grid is created by batchuploader. Below is the mapping in my ds.xml
The list grid gets loaded with the data. On click of this field , it generates the correct drop down with right values from the optionDataSource but the validation does not work.
If the selected value from batchuploder file is not one of the values in dropdown it should show validation error. Its not working.
What I tried :
1. I tried type="enum" in the above xml tag.
2. Tried type="text" and editorType="select".
Also autofetch=true is not working on this. When I click the dropdown ,only then the request is sent to populate dropdown. I need the values from server at the time when listgrid is created and then the validations on client side.
Any suggestions?
Thanks in advance.
I am trying to apply validation on a listgrid field. The list grid is created by batchuploader. Below is the mapping in my ds.xml
Code:
<field name="myName" title="MyName" type="text" optionDataSource="myOptionDS" displayField="myDisplayField" valueField="myValueField" autoFetch="true" />
If the selected value from batchuploder file is not one of the values in dropdown it should show validation error. Its not working.
What I tried :
1. I tried type="enum" in the above xml tag.
2. Tried type="text" and editorType="select".
Also autofetch=true is not working on this. When I click the dropdown ,only then the request is sent to populate dropdown. I need the values from server at the time when listgrid is created and then the validations on client side.
Any suggestions?
Thanks in advance.
Comment