default operator in filterbar in grid is iContainsPattern i.e B* Ben it is similar to SQL like operator. there is more advanced option ==(Big Ben | Small John) unfortunately only in connection with equals operator.
I can achieve it using criteria but it is not solution for end user:
{
"operator":"or",
"criteria":[
{
"operator":"iContainsPattern",
"fieldName":"Col1",
"value":"B*Ben"
},
{
"operator":"equals",
"fieldName":"Col1",
"value":"Sm*John"
}
],
"_constructor":"AdvancedCriteria"
}
Could you extend syntax and add operator LIKE to filter bar, ie "*=" :
*= B*Ben
*= (B*Ben | Sm*John)
Same in Filter Builder. iContainsPattern is default operator but not in this list. So I can't use it.
https://www.smartclient.com/smartgwt...filter_builder
Add iContainsPattern to list available operators in dropdown.
I can achieve it using criteria but it is not solution for end user:
{
"operator":"or",
"criteria":[
{
"operator":"iContainsPattern",
"fieldName":"Col1",
"value":"B*Ben"
},
{
"operator":"equals",
"fieldName":"Col1",
"value":"Sm*John"
}
],
"_constructor":"AdvancedCriteria"
}
Could you extend syntax and add operator LIKE to filter bar, ie "*=" :
*= B*Ben
*= (B*Ben | Sm*John)
Same in Filter Builder. iContainsPattern is default operator but not in this list. So I can't use it.
https://www.smartclient.com/smartgwt...filter_builder
Add iContainsPattern to list available operators in dropdown.
Comment