Does global search with regex enabled search within all columns?

Does global search with regex enabled search within all columns?

TsenzukTsenzuk Posts: 2Questions: 1Answers: 0
edited July 2015 in Free community support

Search is performed only for 1st column if global search with regex option enabled is used.
e.g.

  • Global search ^Soft
  • Treat as regex true
  • Use smart search false

how can it be fixed?

Answers

  • TsenzukTsenzuk Posts: 2Questions: 1Answers: 0
    edited July 2015

    I have found the reason of such behaviour:

    global filter works not for each of cell, but for full line joined by spaces in this way:

    if ( ! rpSearch.test( settings.aoData[ display[i] ]._sFilterRow ) ) { }

    where rpSearch is our regex and settings.aoData[ display[i] ]._sFilterRow is line contains all searchible columns.

    thus search with line start ^ and line end $ special characters doesn't work properly

This discussion has been closed.