Filtering
The filtering feature is provided by enabling the filter property on each column. The filter can be applied on a column level and whole table level as well. The table level filtering is also called global filtering. To enable global filter, the local template variable of input need to be referred in the globalFilter property. The keyup event of global filter input will be listened to for filtering.
The filter feature supports optional filter properties such as filterMatchMode to provide different types of a text search. It has five filter match modes such as startsWith, contains, endsWith, equals, and in and the default match mode is startsWith, whereas the filterPlaceholder property is used to display the helper place holder text. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access