Data-Search Attribute On One Column Affecting Other Column Search Ability
Data-Search Attribute On One Column Affecting Other Column Search Ability
I have a DataTable which applies filters by selecting segments of a chart, taking the value and column index of that segment, and filtering that column by the value.
I have applied the Data-Search data attribute on one of the columns in my data table as it contains links and so was easier to put the text value in the data attribute instead of parsing the URL link to get the text value extracted. This filter applies fine with no issues. However, now the other columns in the table which don't have a data-search data attribute aren't being filtered correctly by the data inside their <td> cell. Do all columns now need to have the data-search attribute if one of them has it?