Datatable Sharepoint list filter data by clicking on icons/badges

Datatable Sharepoint list filter data by clicking on icons/badges

Katia_LTKatia_LT Posts: 13Questions: 6Answers: 0

Hello,
I have this code:
https://live.datatables.net/bitoteji/1/edit

Result:

The problem is I don't know how to achieve filtering this table by clicking on an icon. For example, I want to click on "Workplace" icon and that table would show only items with project type (field name Project_x0020_Summary) "Workplace Services" and so on. Also I want click on "Late" badge and get table filtered by status "Late".

There is "data-filter" attribute to use for filtering table data, for example "<td data-filter="Tiger Nixon">T. Nixon</td>", but how to use it with Sharepoint list and how to achieve filtering by clicking on icon/badge?

Thanks in advance!!

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.