if condition in render

if condition in render

m26gorjim26gorji Posts: 3Questions: 2Answers: 0

I have a problem finding a filter. I rename the data but when I search for it I do not find it.

{ "dt": "degree", render:{ "filter": function (data, type, row, meta) {
if(data == 'Diploma'){
return data;
return 'Other';
} } },

It changes in my table But it doesn't work in search filter.


  • colincolin Posts: 13,282Questions: 0Answers: 2,268

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.