jEditable+multi column filtering

jEditable+multi column filtering

bourbotbourbot Posts: 1Questions: 0Answers: 0
edited January 2013 in Plug-ins
Hello,

Firstly, i'm new to jquery, so this might be a stupid question.

i have a fully working (Datatables) table with jEditable (server side processing).
I'd like to use multi column filtering (http://datatables.net/examples/api/multi_filter.html), but can't get it to work.

Working jeditable code:
[code]

$(document).ready(function() {
$(\'#example\').dataTable( {
"bPaginate": true,
"bStateSave": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers"
} );

/* Init DataTables */
var oTable = $(\'#example\').dataTable();

/* Apply the jEditable handlers to the table */
oTable.$(\'td:gt(0)\').editable( \'./update.php\', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
window.location.reload();
},
"submitdata": function ( value, settings ) {
return {
"row_id": this.parentNode.getAttribute(\'id\'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px",
"width": "100%"
} );
} );

[/code]

Adding the multi column filter code makes the page go blank


Any help on this would be greatly appreciated.


Greetings,
Bourbot
This discussion has been closed.