Column select filter implementation fail

Column select filter implementation fail

stl99stl99 Posts: 11Questions: 4Answers: 0
edited February 2015 in Free community support

Hi there,

I have a rather simple table but struggling to implement select filters for some of the columns. Basically everything I found here and via Google failed, probably because I just don't know how to actually implement it...

Anyway, I'd really appreciate some help with getting column selects to work with this DataTable:

jQuery(document).ready(function($) {
    $('#dtable').dataTable( {
        "bPaginate": false,
        "bLengthChange": false,
        "bFilter": true,
        "bSort": true,
        "bInfo": false,
        "bAutoWidth": false,
        "oLanguage": {
            "sLengthMenu": "Display _MENU_ records per page",
            "sZeroRecords": "Nothing found - sorry DE",
            "sInfo": "Showing _START_ to _END_ of _TOTAL_ records",
            "sInfoEmpty": "Showing 0 to 0 of 0 records",
            "sInfoFiltered": "(filtered from _MAX_ total records)"
        },
        "aoColumnDefs": [ { 
            "bSortable": false, "aTargets": [ 1 ] 
            }
        ],
        "aoColumns": [
            null,
            null,
            null,
            null,
            { "sType" : "currency" },
            { "sType" : "currency" },
            { "sType" : "currency" },
            null
        ]
    } );

Many Thanks in advance!

Cheers,
Thomas

Answers

This discussion has been closed.