packages/components/eui-table/pipes/eui-table-highlight.pipe.ts
Pipe used to highlight the matching string in the data of the table when used with filter feature.
Example :<td><span [innerHTML]="row.year | euiTableHighlight: strFilter"></span></td>
strFilter = '19'| Name | euiTableHighlight |
| transform | ||||||||||||||||||||
transform(value: string, strFilter: string, className: string)
|
||||||||||||||||||||
|
Wrap a matching string with a span element with a class name in the data of the table
Parameters :
Returns :
string
|