Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3740

Column search in editor column of type 'select'

$
0
0

Hello Allan,

I have a column of type 'select' in my editor instance, which is populated by the controller with integer IDs as 'option' value and strings as 'option' text. Now when I try to search in this column with ...column(...).search(...).draw(...) it is just searching inside the option values, but I need the results for the texts.

Maybe one solution for me is to create another hidden column, where I will put out just the texts and where I can search in. But is there another possible (better) solution?


Viewing all articles
Browse latest Browse all 3740

Trending Articles