Default Filtering

This sample demonstrates the Grid Default Filtering feature. In this sample, type the value in the filterbar and press enter to filter particular column.
More Details...


The filtering feature enables the user to view the reduced amount of records based on filter criteria. It can be enabled by setting allowFiltering property as true. A filter bar row will be rendered next to header which allows the end-users to filter data by entering text within its cells. Filterbar uses two modes which specifies how to start filtering. They are, onenter - Enabled by default, filter will be initiated after pressing Enter key. immediate - Filter will start after user ends typing. This uses a time delay of 1500ms to initiate filter after use stops typing. It can be overridden using the filterSettings-immediateModeDelay property. In this demo, you can either select the Category Name from the SELECT element or type the text in the filter bar cells to filter the Grid. Injecting Module: Grid component features are segregated into individual feature-wise modules. To use filtering feature, we need to inject FilterService into the @NgModule.providers section. More information on the filter configuration can be found in this documentation section.