Error when displaying SearchPane over column with render function
Error when displaying SearchPane over column with render function

Hello,
the SearchPane functionality is amazing! With few lines of code I get an extremely efficient dashboard.
In my tests I ended up with an inconvenience with the render function. I would like to show the authors searchpane, but I can't make it work. Follow the link in the code if someone can help me:
http://live.datatables.net/tujoregu/3/edit
the code is also attached.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Thanks for the test case. The values for the
columnDefs
were over-writingcolumns
, you only need to have one present - see here: http://live.datatables.net/tujoregu/4/editColin
Thank you, Colin !! You saved my life! It also worked on my main code with restapi. Sorry for my ignorance, I based on the example below and did not see this detail.
https://datatables.net/extensions/searchpanes/examples/advanced/renderSearchArrays.html