SscrollY and Column Custom Filter

SscrollY and Column Custom Filter

davcarnabydavcarnaby Posts: 19Questions: 0Answers: 0
edited June 2013 in General
Hi everybody.

I got a problem with scrollY and costum column filter.

If i add "sScrollY": "XXXpx", to my code, my column filter disappear.

Something wrong or a bug??

Help please, regards.

This is the code... :

$(document).ready(function() {


/* Init the table */
$("#global_filter").keyup( fnFilterGlobal );
var oTable = $("#example").dataTable({

"bProcessing": true,
"bServerSide": true,
//"sScrollY": "200px", "sScrollY": "300px",
"aLengthMenu": [[10, 25, 50], [10, 25, 50]],
"bAutoWidth": false,
"aaSorting": [[ 6, "desc" ]],
"sAjaxSource": "id.php",
"sDom": 'T<"clear">lrtp',


....
})

and


$("#example").dataTable().columnFilter(
{
aoColumns: [
null,
null,
null,

{
type: "select",
values: mycars
},
{
type: "select",
values: mycars2
},
{
type: "number-range"
},
null,
null,
null



]

}

);

Replies

  • LaMascaradeLaMascarade Posts: 1Questions: 0Answers: 0
    Any ideas anyone?
  • allanallan Posts: 63,514Questions: 1Answers: 10,472 Site admin
    It looks like the column filter plug-in has a number of issues with server-side processing:

    http://code.google.com/p/jquery-datatables-column-filter/issues/detail?id=60
    http://code.google.com/p/jquery-datatables-column-filter/issues/detail?id=78

    Among others.

    The column filter plug-in is not part of the DataTables project, so I'm afraid I can't offer any advice or support for it (as I don't actually know how it works!).

    Allan
This discussion has been closed.