search for empty cells

search for empty cells

nm_alexnm_alex Posts: 26Questions: 0Answers: 0
edited December 2010 in General
Dear all!

I want to find all rows, that contains an empty cell at a specific row.

This is currently the code, I use for filtering (taken from the datatables examples):
[code]
$("#thattable tfoot input").keyup( function () {
/* Filter on the column (the index) of this element */
var search_value = this.value;
oTable.fnFilter( search_value, $("tfoot input").index(this) + 1 );
} );
[/code]

May I pass something that searches for empty cells or do I need to override the fnGetColumns method?

Kind regards,
Alex

Replies

  • nm_alexnm_alex Posts: 26Questions: 0Answers: 0
    in case someone googles: cf. http://datatables.net/forums/comments.php?DiscussionID=4147

    [code]
    oTable.fnFilter( '^$', 4, true, false );
    [/code]
This discussion has been closed.