table.search regex starts with works only for the first column?
table.search regex starts with works only for the first column?
daniel_r
Posts: 460Questions: 4Answers: 67
I was trying to do something simple, adding a button that will filter the table with a "startWith" string
For example, filter only string begin with the letter 'y'
table.search('^y', true, false).draw();
But this simple line of code doesn't work for me
Here a jsbin page with 3 buttons above the table, and for some reason only the second button "Filter start with S" works , it looks like it works only for the first column.
Any ideas?
This discussion has been closed.