Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Example: Using the foYesterday Filter Operator

This example demonstrates the application of the foYesterday filter operator. To add the filter condition, use the AddItem method of the data controller’s Filter object. This requires the comparison operator, comparison value and text representation of the value be supplied. When using the foYesterday filter operator, the comparison value and its text representation are ignored.

cxGrid1DBTableView1.DataController.Filter.AddItem(nil, 
  cxGrid1DBTableView1PurchaseDate, foYesterday, NULL, '');