<vaadin-grid-filter>
`<vaadin-grid-filter>` is a helper element for the `<vaadin-grid>` that provides out-of-the-box UI controls, and handlers for filtering the grid data.
<vaadin-grid-filter> is a helper element for the <vaadin-grid> that provides out-of-the-box UI controls,
and handlers for filtering the grid data.
Example:
<vaadin-grid-column id="column"></vaadin-grid-column>
const column = document.querySelector('#column');
column.headerRenderer = (root, column) => {
let filter = root.firstElementChild;
if (!filter) {
filter = document.createElement('vaadin-grid-filter');
root.appendChild(filter);
}
filter.path = 'name.first';
};
column.renderer = (root, column, model) => {
root.textContent = model.item.name.first;
};
Attributes
paththemevalue
Events
value-changed