Grid Filter Highlighter
Highlighter for Vaadin Grid items
Based on https://github.com/amahdy/vaadin-grid-filter-h Highlights all occurrences in the Grid items of a given filter text.
grid.addColumn(new ComponentRenderer<>(VaadinGridFilterH::new,
(highlighter, person) -> {
highlighter.setItem(person.getFirstName());
highlighter.setFilter(fnFilter.getValue());
}));
Sample code
grid.addColumn(new ComponentRenderer<>(VaadinGridFilterH::new, (highlighter, person) -> { highlighter.setItem(person.getFirstName()); highlighter.setFilter(fnFilter.getValue()); }));
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Released
- 2018-05-31
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 10+
- Browser
- Browser Independent
Grid Filter Highlighter - Vaadin Add-on Directory
Highlighter for Vaadin Grid itemsBased on https://github.com/amahdy/vaadin-grid-filter-h
Highlights all occurrences in the Grid items of a given filter text.
```java
grid.addColumn(new ComponentRenderer<>(VaadinGridFilterH::new,
(highlighter, person) -> {
highlighter.setItem(person.getFirstName());
highlighter.setFilter(fnFilter.getValue());
}));
```
Source code on Github