Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Binding to Data
   [Expand]Grid View
   [Expand]View Technology
   [Expand]Grouping
   [Expand]Sorting
   [Expand]Summaries
   [Expand]Data Editing
   [Collapse]Filtering and Locating Rows
    [Expand]Filtering
     Locating Rows in Code
     Incremental Search
     Searching via Find Panel
     Tutorial: Incremental Search
     Tutorial: Search/Find Panel
   [Expand]Focus and Selection Handling
   [Expand]Processing Rows
   [Expand]Formatting Cell Values
   [Expand]Master-Detail Relationships
   [Expand]Asynchronous Image Load
   [Expand]Export and Printing
   [Expand]Appearance and Conditional Formatting
   [Expand]Batch Modifications
   [Expand]Hit Information
   [Expand]Hints
   [Expand]Popup Menus
   [Expand]Saving and Restoring Layouts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
    Included Components
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Incremental Search

Grid Views support incremental searches, i.e. they locate records by typing the initial characters of the desired cell's display value. This enables end-users to locate the desired records quickly when Grid Views display a large amount of data. This topic describes how to enable and use an incremental searching feature. To learn how to locate rows via code, please refer to the Locating Rows in Code topic.

Expanded Online Video

Learn how to enable the Incremental Search feature in the Data Grid, and how to customize the Search settings and initiate a data search in code.

Expanded Incremental Search

To enable incremental searching, set the View's GridOptionsBehavior.AllowIncrementalSearch property to true. A column's OptionsColumn.AllowIncrementalSearch option can be used to disable the incremental search for this column.

To search for a record by a field value, an end-user should first focus the column in which they want to search and then type the first character(s) of the desired value. The grid will focus the row that contains the typed text in the focused column.

In some cases there may be several rows containing cells matching the search criteria. To continue searching backwards and forwards using the current criteria, end-users can press the CTRL+UP and CTRL+DOWN key combinations respectively.

It is possible to start and stop an incremental search manually. For this purpose, use the GridView.StartIncrementalSearch and GridView.StopIncrementalSearch methods. To get the text being searched during an incremental search use the ColumnView.GetIncrementalText method.

The following animation demonstrates an incremental search sample (note: the search text is typed in with the help of the On-Screen Keyboard available in Windows XP).

Expanded See Also

How would you rate this topic?​​​​​​​