Server Side Processing (Filter exact match)

Server Side Processing (Filter exact match)

samuel89757samuel89757 Posts: 7Questions: 3Answers: 0

Hi, I would like to ask when you are searching for something example "A".

How you filter only out "A" instead of "A", "ABC, or "ACB"?

I currently using Server Side Scripting.

var otable = $('#example').dataTable( {
'processing': true,
'bServerSide': true,
'deferRender': true,
'serverSide': true,
'aoColumns': [
{ 'mData': 0},
{ 'mData': 1},
{ 'mData': 2},
],
} );
);

            } );

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    In server-side processing you would just do a = search rather than LIKE '%{term}%' which the default class uses. If you are using the example class, then you would need to modify it to add that ability.

    Allan

  • samuel89757samuel89757 Posts: 7Questions: 3Answers: 0

    Thank you Allan. I managed to solve it. :)

This discussion has been closed.