Custom filtering on one column
Custom filtering on one column
RCOO
Posts: 1Questions: 1Answers: 0
Hello,
I have a datatable that is made up of 4 columns.
2 of them contain buttons.
Well, the filtering feature doesn't work properly since the table contains elements of this type:
<"td style="padding: 0px; ">
<"button class="btn btn-info" style="height: 128%; border-radius: 0px">XXXYYYXXXYYY</button">
</td">
Is there a way to edit the filtering so that on column x (which contains buttons) we use the td's child html() content (in the example = XXXYYYXXXYYY)?
Thanks!
This discussion has been closed.
Answers
yes
@RCOC - I'm guessing you are using 1.9.4? There was a bug in 1.9.4 which meant that HTML tags wasn't stripped out. That is resolved in 1.10 and your search would operate as you are looking for in that version.
Allan