Removing html from dropdown list ?

Removing html from dropdown list ?

Duddy67Duddy67 Posts: 1Questions: 1Answers: 0

Hi all,
Consider the following cell:

<td>Some value<div class="myclass">Some text</div></td>

How can I completely remove (including text) the div tag from the dropdown list of the column filter and from the search as well ?

I tried the columnDefs option:
columnDefs: [ { targets:0, type: 'html' } ],
but it doesn't work.
Can someone help me ?

Answers

This discussion has been closed.