Hello,
I'm trying to set a filter expression for my MultiColumn combo box. I use the following syntax.
When entering a single letter ito the box, e.g. an "L" the filtered result contains all elements which contains an "L", not only thos which start with an "L". Did I use the parameter GridKnownFunction.StartsWith correctly?
I'm trying to set a filter expression for my MultiColumn combo box. I use the following syntax.
MultiColumnComboBox1.DataSource = DataTable1
MultiColumnComboBox1.DisplayMember = "Iso2"
MultiColumnComboBox1.ValueMember = "Iso2"
MultiColumnComboBox1.MultiColumnComboBoxElement.AutoSizeDropDownToBestFit = True
Dim fe As FilterExpression
fe = New FilterExpression(MultiColumnComboBox1.DisplayMember, FilterExpression.BinaryOperation.AND, GridKnownFunction.StartsWith)
MultiColumnComboBox1.EditorControl.MasterTemplate.FilterDescriptors.Add(fe)MultiColumnComboBox1.MultiColumnComboBoxElement.AutoCompleteMode = AutoCompleteMode.SuggestAppendMultiColumnComboBox1.AutoFilter = True
When entering a single letter ito the box, e.g. an "L" the filtered result contains all elements which contains an "L", not only thos which start with an "L". Did I use the parameter GridKnownFunction.StartsWith correctly?
Any help is appreciated.
Sincerely Roberto