Hi Isomorphic. I am trying to use the new filter operators in SmartGWT 6. I have a databound ListGrid which works fine if I apply simple filters. But when I try to add a filter using an operator (for instance, '> 5'), I get the following message:
Here is my TestCases.java code:
My buffer_bank.ds.xml file:
So my question is if this new feature only works on Power or better (because this error seems to point to features available only on Power/Enterprise).
Thanks
SmartGWT 6.0-p20160622. Chrome Versión 51.0.2704.106 m.
DSRequest for DataSource 'buffer_bank' contained AdvancedCriteria, which the DataSource does not support
Code:
public class TestCases implements EntryPoint { public void onModuleLoad() { ListGrid grid = new ListGrid(DataSource.get("buffer_bank")); grid.setWidth100(); // default data manipulation properties grid.setAutoFetchData(true); // filter properties grid.setShowFilterEditor(true); grid.setFilterOnKeypress(true); grid.setAllowFilterOperators(true); HStack layout = new HStack(); layout.setWidth100(); layout.setHeight100(); layout.addMember(grid); layout.draw(); }
Code:
<DataSource ID="buffer_bank" serverType="sql" tableName="buffer_bank" xmlns:fmt="WEB-INF/" autoDeriveSchema="true"> </DataSource>
Thanks
SmartGWT 6.0-p20160622. Chrome Versión 51.0.2704.106 m.
Comment