Highlight results
To highlight row values, define highlight: true in your TableHandler instanciation.
const table = new TableHandler(data, { highlight: true }) This will add a <u class="highlight"> tag around matching values of type string or number.
Caveat: requires {@html} everywhere in the template.
| id | first_name | last_name |
|---|---|---|
| 1 | Tobie | Vint |
| 2 | Zacharias | Cerman |
| 3 | Gérianna | Bunn |
| 4 | Bee | Saurin |
| 5 | Méyère | Granulette |
| 6 | Frederich | Benley |
| 7 | Becki | Criag |
| 8 | Nichols | Risom |
| 9 | Ron | Menendes |
| 10 | Thane | Gammill |