filtering on input element values?

filtering on input element values?

ifaceiface Posts: 23Questions: 8Answers: 0
edited September 2010 in General
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?

Replies

  • ifaceiface Posts: 23Questions: 8Answers: 0
    Hello

    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
This discussion has been closed.