Search does not work in columns where data: ""

Search does not work in columns where data: ""

jens.olssonjens.olsson Posts: 17Questions: 7Answers: 1

I have a datatable with some defined columns. Most of them have data set to a specific item from the json I feed to it via ajax, however for one of the columms in datatable I have set data:"" and I use the render function to add some buttons to this column.
The unusual thing is that I would like these buttons to be searchable. So if I for example have a button called "Active" I want to be able to search for Active, but this does not work.
Would be nice to have something like renderSearchString, but I am sure there is another way to do this?

Kind regards
Jens

Replies

This discussion has been closed.