Hi blingslingkling123,
that would be SimpleType, but I don't know if it supports <validOperators>.
Isomorphic: It would be great to have a list of what attributes and tags SimpleType supports in .ds.xml.
Is it the "Instance API" docs from the link, so <validOperators> would work?
Best regards
Blama
Announcement
Collapse
No announcement yet.
X
-
We've made a change to solve this issue. The fix will be available in the nightly builds as of tomorrow May 28th.
Regards
Isomorphic Software
Leave a comment:
-
After applying the validOperators, I get this error:
Example Field:
Error:
None of the operators are displayed, just a basic right click option menu.
Leave a comment:
-
No, the package summary explains how array-type fields appear in XML:
https://smartclient.com/smartgwtee-r...e-summary.html
So:
Code:<field ... > <validOperators> <value>contains</value> .. other values ... </validOperators> </field>
Leave a comment:
-
Cool, so something like this should be valid?
UPDATE: This does not work. Please provide an example of the correct usage.Code:<field name="mark" type="text" length="100" required="true" defaultOperator="contains" validOperators="contains,notContains,equals,notEqual,startsWith">
Leave a comment:
-
validOperators is something you can set in the .ds.xml file. You will not it is documented as such (in the ".serverds" package that describes .ds.xml properties).
https://smartclient.com/smartgwtee-r...validOperators
Leave a comment:
-
yes, I currently use DataSourceField.setValidOperators(), but I am wondering if there is a simpler way, like setting it while defining the field name in the ds.xml. I just don't like having to set all the operators in the DS after. Might be a nice enhancement if not.
Thanks
Leave a comment:
-
Setting Filter Operators in ds.xml file
Hello,
I am wondering is there is a way to set the operators inside the <field></field> section of the ds.xml file when defining the fields?
Something like
Code:<field name="field_name" type="integer" operators="EQUALS,IN_SET,NOT_IN_SET..."/>
Tags: None
Leave a comment: