SmartClient Version: v12.1p_2021-12-17/AllModules Development Only (built 2021-12-17)
Chrome on MacOS
Hello, please modify the liveFilter sample like this:
You'll see that the implicitCriteria is not sent to the server
Chrome on MacOS
Hello, please modify the liveFilter sample like this:
Code:
isc.ListGrid.create({
ID: "countryList",
width: 500, height: 300, alternateRecordStyles: true,
dataSource: worldDS,
fields: [
{name: "countryCode", title: "Code", width: 60},
{name: "countryName", title: "Country"},
{name: "capital", title: "Capital"},
{name: "continent", title: "Continent"}
],
autoFetchData: false,
showFilterEditor: true,
filterOnKeypress: true,
implicitCriteria: {countryCode: null}
}).fetchData({
_constructor: "AdvancedCriteria",
operator: "and",
criteria: [
{fieldName: "countryCode", operator: "equals", value: "US"}]
});
Comment