Closed GoogleCodeExporter closed 9 years ago
Do not post issues without a runnable, minimal test case that clearly show a
bug.
Original comment by smartgwt...@gmail.com
on 15 Mar 2012 at 12:39
Sorry about that , i hope that the below code will be useful :
FilterBuilder tooltipJobFilterBuilder = new FilterBuilder();
tooltipJobFilterBuilder.setDataSource(jobsDataSource);
tooltipJobFilterBuilder.setShowAddButton(false);
tooltipJobFilterBuilder.setShowRemoveButton(false);
tooltipJobFilterBuilder.setShowSubClauseButton(false);
tooltipJobFilterBuilder.setCriteria(criteria);
Original comment by Arkan.D...@exalt.ps
on 15 Mar 2012 at 12:43
i use the data source just like the show case example
http://www.smartclient.com/smartgwt/showcase/#grid_custom_filter_builder
and use this
DataSource worldDS = WorldXmlDS.getInstance();
AdvancedCriteria criteria = new AdvancedCriteria(OperatorId.AND,
new Criterion[] {
new Criterion("countryCode", OperatorId.CONTAINS, "X") ,
new AdvancedCriteria(OperatorId.AND , new Criterion[]{
new Criterion("countryCode", OperatorId.CONTAINS, "XX")} ) });
FilterBuilder myfilterBuilder = new FilterBuilder();
myfilterBuilder.setDataSource(worldDS);
myfilterBuilder.setShowSubClauseButton(false);
myfilterBuilder.setShowRemoveButton(false);
myfilterBuilder.setShowAddButton(false);
myfilterBuilder.setCriteria(criteria);
myfilterBuilder.draw();
And i have the same problem , just like the attachment ;
Is this the normal behavior ??
Original comment by Arkan.D...@exalt.ps
on 18 Mar 2012 at 8:38
Attachments:
I have the same issue , but is there any way to represent ( show ) the criteria
instead of use the filter builder ???
Original comment by Rawan.Ab...@exalt.ps
on 20 Mar 2012 at 3:02
Original issue reported on code.google.com by
Arkan.D...@exalt.ps
on 15 Mar 2012 at 11:27Attachments: