How to enable search in title between < p >

How to enable search in title between < p >

ASHKARdatatablesASHKARdatatables Posts: 18Questions: 5Answers: 0
edited July 2023 in Free community support

Hi every one :smile:

i wonder how to enable search in **title **between < p > </ p >

https://live.datatables.net/yasugexu/1/edit

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,514Questions: 1Answers: 10,472 Site admin
    Answer ✓

    Can you add the data you want to search on to the td element as a data-search attribute? If so, use orthogonal data (DataTables will automatically detect the data-search attribute).

    If that isn't an option, use the columns.render for orthogonal data, parsing out the part that you want to search on when the type === 'filter' data type is requested.

    Allan

  • ASHKARdatatablesASHKARdatatables Posts: 18Questions: 5Answers: 0

    Thanks Allan :blush:

Sign In or Register to comment.