This project was created to show how to added a search box to our simple data grid.
We created a nice simple data grid for general use in or applications. We want to add a search feature to the grid so users can look for specific records in their data table.
-
Clone this repository
git clone https://github.com/CodingWithDavid/SimpleGridWithSearch cd SimpleGridWithSearch
-
Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions
-
Press F5
- UI component, search box
- Does a full search on the records in the data collection
- Updates the UI with the search results
- Applies a "Clear" button to return to the full record set
- As a bonus, we added support for hitting enter on the input and executing the search