We have downloaded Smart Client 7.0 RC1 and tried the filter builder.
It displays following below values if the topOperatorAppearance: “radio” is set on the the filterbuilder.
$540and $540or $540not
Here is the standalone test case from your example. I have added first two lines to restrict the operator for type text.
var operatorType = [“equals”,“iContains”];
worldDS.setTypeOperators(“text”,operatorType);
isc.FilterBuilder.create({
ID:“advancedFilter”,
dataSource:“worldDS”,
topOperatorAppearance: “radio”
});
isc.ListGrid.create({
ID: “countryList”,
width:550, height:224, alternateRecordStyles:true,
dataSource: worldDS,
fields:[
{name:“countryName”},
{name:“continent”},
{name:“population”, formatCellValue:“isc.Format.toUSString(value)”},
{name:“area”, formatCellValue:“isc.Format.toUSString(value)”},
{name:“gdp”, formatCellValue:“isc.Format.toUSString(value)”},
{name:“independence”}
],
autoFetchData: true
})
isc.IButton.create({
ID:“filterButton”,
title:“Filter”,
click : function () {
countryList.filterData(advancedFilter.getCriteria());
}
})
isc.VStack.create({
membersMargin:10,
members:[ advancedFilter, filterButton, countryList ]
})
Let me know if we are doing something wrong here.
Thanks,
Alex Z