Join our newsletter!
Get exclusive content, resources, and more!
1-2 emails per week, no spam
Outline
- Fundamentals of ag-Grid with Angular
- Fundamentals of ag-Grid with Angular: Data
- Fundamentals of ag-Grid with Angular: Columns
- Fundamentals of ag-Grid with Angular: Filtering
- Fundamentals of ag-Grid with Angular: Rows
- Fundamentals of ag-Grid with Angular: Styling
- Fundamentals of ag-Grid with Angular: Cell Editing
- Fundamentals of ag-Grid with Angular: Custom Components
Outline
- Fundamentals of ag-Grid with Angular
- Fundamentals of ag-Grid with Angular: Data
- Fundamentals of ag-Grid with Angular: Columns
- Fundamentals of ag-Grid with Angular: Filtering
- Fundamentals of ag-Grid with Angular: Rows
- Fundamentals of ag-Grid with Angular: Styling
- Fundamentals of ag-Grid with Angular: Cell Editing
- Fundamentals of ag-Grid with Angular: Custom Components
Goals
- Develop a
SliderFilterComponent
that uses Angular Material's<mat-slider>
component for filtering numeric values. - Define the
SliderFilterParams
for passing custom parameters to the filter component in a column definition via thefloatinFilterComponentParams
property. - Implement the
onParentModelChanged()
lifecycle method to set thevalue
of the slider if the user modifies the parent number filter model value. - Using the
input
output binding (yeah, it's a bit confusing) on the<mat-slider>
component to invoke theonFloatingFilterChanged()
method on theNumberFilter
instance to filter a column. - Register the custom component using the
frameworkComponents
input binding on the<ag-grid-angular>
component. - Use the newly created
sliderFilter
for thefloatingFilterComponent
property in the column definition.