Bug with searching multiline columns + fix
Bug with searching multiline columns + fix
![mot](https://secure.gravatar.com/avatar/62697a8040f8c07cfd810d0698a3474e/?default=https%3A%2F%2Fvanillicon.com%2F62697a8040f8c07cfd810d0698a3474e_200.png&rating=g&size=120)
DataTables can not search in multiline (containing '\n') columns. Fix is provided.
Replace
[code]var rpSearch = new RegExp( sRegExpString, "i" );[/code]
with
[code]var rpSearch = new RegExp( sRegExpString, "im" );[/code]
Replace
[code]var rpSearch = new RegExp( sRegExpString, "i" );[/code]
with
[code]var rpSearch = new RegExp( sRegExpString, "im" );[/code]
This discussion has been closed.
Replies
Anyway, thanks for you contribution... Some1 may be need this (or even me later ^^)
Allan