Double Quotes Filter Not Working

Double Quotes Filter Not Working

Ninja JoeNinja Joe Posts: 15Questions: 7Answers: 1
edited June 2022 in Free community support

I'm using a DataTable initialized with the following code:

$( '#builders-datatable' ).DataTable( { 
  scrollX: true, 
  pageLength: 50, 
  pagingType: 'full_numbers', 
  order: [ [ 1, 'asc' ] ], 
  dom: 'lBfrtip', 
  buttons: buttonSettings 
} );

It's working like a charm, except filtering with double quotes is not yielding an exact match.

For example, if I search for "car"

I should only see rows with "car"

Instead, I'm getting "car" "carpet" "car wash" etc.

The expectation is I should only receive "car" as a result since I searched "car" with double quotes.

I'm using DataTables version 1.11.3.

Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide

Answers

  • kthorngrenkthorngren Posts: 21,322Questions: 26Answers: 4,948

    I thought I answered a similar question recently. You asked this same question in this thread. Please don't post duplicate questions. If you have follow up questions please post them in your original thread.

    Kevin

Sign In or Register to comment.