This example allows users to filter the LookUpEdit's data by multiple columns.
To filter by multiple columns when a user types directly in the edit box, handle the LookUpEditBase.SubstituteDisplayFilter event. In the event handler, create criteria operators for the required columns, use the GroupOperator
to combine the created operators, and assign this operator to the DisplayFilter
property.
The alternative way to search by multiple columns in the LookUpEdit
is to use the SearchLookUpEditStyleSettings class, as demonstrated in the following article: Create a SearchLookUpEdit and Bind it to Data.
- WPF LookUpEdit - Customize the Embedded Data Grid
- WPF LookUpEdit - Display a TreeList as Popup Content
- WPF Data Grid - Filter a Column's LookUpEdit Based on the Value in Another Column
(you will be redirected to DevExpress.com to submit your response)