StartsWith search in RadGridView
Environment
Product Version | Product | Author |
---|---|---|
2019.2.618 | RadGridView for WinForms | Desislava Yordanova |
Description
By default, RadGridView searches for cell values that 'Contain' the search criteria.
This article demonstrates how to search only for the cells that 'StartsWith' the search criteria.
Solution
All you need to do, is to create a custom GridViewSearchRowInfo. Subscribe to the CreateRowInfo event at design time and use the following code snippet: