Sorting text input fields in column
Sorting text input fields in column

I'm having problem when sorting my column for Input fields and Select fields. They are not sorting. I'm reading this documentation: https://datatables.net/examples/plug-ins/dom_sort.html but it doesn't sort. Here's my sample: live.datatables.net/bimedipo/1/, the Import_Status and Import_Date is not sorting.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You need to use
columnDefs
, instead ofcolumns
, to specify the column targets for your inputs. Here is the updated example:http://live.datatables.net/gewefobe/1/edit
Kevin