Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Custom Filter Based off Array Response

$
0
0

Hello,

Here is a quick little test case I have created to reproduce the issue that I am facing. https://jsfiddle.net/BeerusDev/b0cjaneq/13/

So the currentUser, "BeerusDev" is in both Team 1 & Team two so I need to show both responses on the table. Prior I had my currentTeam only returning the first team it read because I was mapping it wrong, but the filter atleast worked for that one team. Now in my sample response, it shows "Beerus Dev" is in ["Team 1", "Team 2"], but when I apply it to the filter, nothing shows in the table?

How can I have it to where it shows everything currentUser is equal to.


Viewing all articles
Browse latest Browse all 2364

Trending Articles