Customize the Operators on FilterBuilder

Using the FilterBuilder widget, how do I customize the choices in the second dropdown menu for each column?

I did not see any example of how to do this in the Showcase, and the documentation seems vague.

Is this even possible?

Thanks!

http://forums.smartclient.com/showthread.php?t=11658&highlight=operators

That link mentions to use getDataSource on the FilterBuilder instance, then call getFieldOperators.

However, the method getFieldOperators (or, presumably, setFieldOperators), does not exist in the javadoc. http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/data/DataSource.html

Can you please clarify how I would set the operators for certain fields, when using a FilterBuilder?

Thanks!

It can set globally or by field via DataSourceField.setValidOperators().