filtering on input element values?
filtering on input element values?
Hello
I've got a functioning v1.7.2 dataTable following this example.
http://datatables.net/examples/api/multi_filter.html
I'm running into problems when I want to filter on a column that contains either all html inputs or mix inline text and html inputs. I've been able to get sorting to work using "sSortDataType": "dom-text".
I'm hoping to filter on the value of a input element. Is this possible?
I've got a functioning v1.7.2 dataTable following this example.
http://datatables.net/examples/api/multi_filter.html
I'm running into problems when I want to filter on a column that contains either all html inputs or mix inline text and html inputs. I've been able to get sorting to work using "sSortDataType": "dom-text".
I'm hoping to filter on the value of a input element. Is this possible?
This discussion has been closed.
Replies
I was able to figure it out and get it working after looking at these pages. I needed to add the correct sType to the aoColumnDefs. "sType": "dom-text", "aTargets": [ 5 ]
http://datatables.net/examples/plug-ins/dom_sort.html
http://datatables.net/development/filtering