Hi,
I have an issue when trying to limit the operator list in the FilterBuilder for specific fields.
I set the restrictions on the fields in my DataSource, however they are not reflected in the FilterBuilder dropdown.
For this input...
I get...
[Equals, Not equals, Matches other field] in the dropdown.
Am I using the API correctly?
I'm using
Smartgwt 2.5 (07.06.11), FF 4.0.1, Chrome 13.0
First saw the issue in an end of April nightly, this was the reason I updated to last night's.
I have an issue when trying to limit the operator list in the FilterBuilder for specific fields.
I set the restrictions on the fields in my DataSource, however they are not reflected in the FilterBuilder dropdown.
For this input...
Code:
DataSourceTextField omsName = new DataSourceTextField("omsName"); omsName.setValidOperators(OperatorId.CONTAINS, OperatorId.NOT_CONTAINS, OperatorId.EQUALS, OperatorId.NOT_EQUAL, OperatorId.STARTS_WITH, OperatorId.ENDS_WITH, OperatorId.EQUALS_FIELD); fields.add(omsName);
[Equals, Not equals, Matches other field] in the dropdown.
Am I using the API correctly?
I'm using
Smartgwt 2.5 (07.06.11), FF 4.0.1, Chrome 13.0
First saw the issue in an end of April nightly, this was the reason I updated to last night's.
Comment