Hi Richard,
Thanks for using Syncfusion products.
The “Like” operator is used for creating Expressions.
Description for the “Like” operator:
It checks for the field, that starts exactly as specified in the right-hand argument. For example, “ [Name] like 'Bruch' “ returns 1 for the particular records whose “Name” field value is exactly ‘Bruch’. We can use an asterisk as a wildcard character.
For example,
“ [Name] like 'Br*' - returns 1 for the records whose “Name” field starts with ‘Br’.
“ [Name] like '*br' - returns 1 for the records whose “Name” field ends with ‘br’.
Please refer the below code snippet with ‘Like’ operator:
GridExpressionFieldDescriptor efd = new GridExpressionFieldDescriptor();
efd.Expression = " [Name]like 'Br*'";
efd.Name = "Exp Field";
// Adding Expression fields to the collection
this.GridGroupingControl1.TableDescriptor.ExpressionFields.Add(efd);
Please refer the sample from the below link, which illustrates this:
http://www.syncfusion.com/support/user/uploads/Expression_cad64795.zipPlease let us know, if this helps you out.
Regards,
Raji