hi,
iam using the latest builds of smartgwt.(revision .606) I tried to use the following code..
filterBuilder.setAddButtonPrompt(“Another Operation”);
but it throws an error
[ERROR] Line 64: The method setAddButtonPrompt(String) is undefined for the type FilterBuilder
similarly Iam unable to access the method ‘setTypeOperators()’ as found in the thread
http://forums.smartclient.com/showthread.php?t=5359&highlight=filterbuilder comment:#4
this is my code
DataSource orgDS = DSOrganization.getInstance();
final FilterBuilder filterBuilder = new FilterBuilder();
filterBuilder.setAddButtonPrompt("Another");
filterBuilder.setTopOperator(LogicalOperator.AND);
filterBuilder.setTopOperatorAppearance(TopOperatorAppearance.NONE);
filterBuilder.setDataSource(orgDS);
filterBuilder.setShowSubClauseButton(false);
filterBuilder.clearCriteria();
filterBuilder.clickMaskUp();
Is these methods not updated?
thanks,
Vijay