TypeError: tab.fnFilter is not a function, individual column filtering error.

TypeError: tab.fnFilter is not a function, individual column filtering error.

joelmanxjoelmanx Posts: 0Questions: 0Answers: 0
edited February 2013 in DataTables 1.9
help, when trying to filter a column, gives me this error:

[quote]TypeError: table.fnFilter is not a function[/quote]

can see the live page here: http://joelacho.sytes.net/siadx/siad/lista
use multiple files javascripts and jquery

The code is:
[code]
.......















$(document).ready(function(){
var tabla=$("#data").dataTable( {
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bLengthChange": true,
"bAutoWidth": true,
"sDom": '<"H"Tfr>t<"F"ip>',
"bFilter": true,
"oLanguage": {
"sSearch": "Buscar en toda la lista:"
},
"oTableTools": {
"aButtons": [],
"sRowSelect": "single"

}
} );

$("#codigo").keyup( function () {
var tab = TableTools.fnGetInstance('data');
if(tab != undefined){
//alert(this.value);
tab.fnFilter(this.value,1);
}
} );
});









Nro
Nro Solicitud
Nro Prenumerado
Tipo
Fecha Emision
Unidad Solicitante
Costo Total




224
SS-875555

SERVICIO
08/02/2013
DIRECCION DE SERVICIOS BASICOS Y VIVIENDA




221
777717777

SERVICIO
08/02/2013
GOBIERNO ELECTRONICO





<!-- End of .content -->


[/code]
This discussion has been closed.