searchCols Regex Not Working as Expected

searchCols Regex Not Working as Expected

NatcheyNatchey Posts: 6Questions: 1Answers: 0

Hey guys, trying to use the searchCols definition to pre-filter a table the moment it loads. I'm sorting through a list of work orders, but I only want to show "In Progress", "In Queue", and others, but NOT "Completed".

This works fine as a straight search. It shows me "In Progress" items in column 6.
"searchCols": [
null,
null,
null,
null,
null,
{ "sSearch": "In Process", "escapeRegex": false},
null,
]

However, this doesn't do anything. It should just return everything in that column.:
"searchCols": [
null,
null,
null,
null,
null,
{ "sSearch": ".*", "escapeRegex": false},
null,
]

My goal is to use regex to find everything that isn't Completed, such as (^((?!Completed).)*$)

Any idea what I'm doing wrong here?

Replies

This discussion has been closed.