Selecting Multiple rows in Datatables based on a columns cell value
Hi all;
I’ve been struggling to make this work and was hoping someone here might be able to help me figure this out.. I have a layout that I’m using to help a user select multiple states with a click of a button to easily select all of the states that certain services are performed in. The JS I’ve been able to figure out that comes close only selects the cell and not the entire row.
Here are some screenshots of what I’ve been building:
Now that I have row selection working, I want to use the buttons in the header to select all of the states where we actively support Medical Management type or TeleTherapy type appointments based on the columns value.. Here is my JS currently:
Unfortunately, this only selects the cells with the text value of “Yes” and not the entire row:
Any help here would be greatly appreciated!