Sort by last name
Sort by last name
anasyo10
Posts: 1Questions: 1Answers: 0
Is there a way to sort by last name instead of the first name on a full name column?
This discussion has been closed.
Answers
You would enable regex search and disable smart search of
column().search()
to ignore the firstname portion of the column.This example may help you get started:
https://datatables.net/examples/api/regex.html
Kevin