Directory

← Back

Grid Filter Highlighter

Highlighter for Vaadin Grid items

Author

Contributors

Rating

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());
            }));

Compatibility

(Loading compatibility data...)

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
Online