search for empty cells
search for empty cells
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
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
This discussion has been closed.
Replies
[code]
oTable.fnFilter( '^$', 4, true, false );
[/code]