SmartClient Version: v13.0p_2022-01-15/AllModules Development Only (built 2022-01-15)
SmartClient Version: v12.1p_2022-01-12/AllModules Development Only (built 2022-01-12)
Chrome on MacOS
Hello, please modify the 'filter' sample like this:
if you type 'mona' in 'countryName', you'll see that no records match, because it's generating an advanced criteria with iEquals instead of iContains:
SmartClient Version: v12.1p_2022-01-12/AllModules Development Only (built 2022-01-12)
Chrome on MacOS
Hello, please modify the 'filter' sample like this:
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:300, alternateRecordStyles:true,
dataSource: worldDS,
filterOnKeypress:true,
implicitCriteria:{
_constructor: 'AdvancedCriteria',
operator: 'or',
criteria:[
{fieldName:"continent", operator:"equals", value:"Europe"},
{fieldName:"continent", operator:"equals", value:"Asia"}
]
},
fields:[
{name:"countryCode", title:"Code", width:60},
{name:"countryName", title:"Country"},
{name:"capital", title:"Capital"},
{name:"continent", title:"Continent"}
],
autoFetchData: true,
showFilterEditor: true
})
Code:
{
fieldName:"countryName",
operator:"iEquals",
value:"mona"
}
Comment