Include space in filter string

Include space in filter string

88mpg88mpg Posts: 3Questions: 0Answers: 0
edited January 2014 in DataTables 1.9
I have an alphanumeric column with strings like "1, 2, 2". When I type "1, 2, 2" in the search, it seems to be returning all cells with "1," and "2,". What can I do so the search returns only "1, 2, 2"?

Replies

  • 88mpg88mpg Posts: 3Questions: 0Answers: 0
    Figured it out. Turn smart filtering off, bRegex as true treats search string as regular expression:

    [code]"oSearch": { "bSmart": false, "bRegex": true }[/code]
This discussion has been closed.