Checkbox in Filter drop-down

Checkbox in Filter drop-down

RUJAL JARIWALARUJAL JARIWALA Posts: 1Questions: 1Answers: 0

Hoe can I put check-box in filter, so I can select multiple and filter accordingly.
Say for an example : here I want data of London as well as New York.
https://datatables.net/examples/api/multi_filter_select.html

Answers

  • jvretamerojvretamero Posts: 26Questions: 0Answers: 3

    See this JSFiddle to give you a direction.

    You need to change the select to be multiple, map all the selected option values and use the Regex or operator to search the column.

    Hope it helps.

This discussion has been closed.