I am using datatables 1.10 to display a huge amount of fitment data for autoparts.

I am using serverside processing to draw the info from a sql db.

I used this page as my example to set it up except my dropdowns are in the header not footer. DataTables example - Individual column filtering (select inputs)

I have everything showing and working fine on jsbin. JS Bin - Collaborative JavaScript Debugging

I have 2 issues:
1. I need to remove the dropdowns from the last 3 columns
2. the dropdowns are empty and are not populating with the data from the db

Any assistance is much appreciated.

See js below:

Code:
$(document).ready(function() {
    var table = $('#catdata').DataTable( {
        "processing": true,
        "serverSide": true,
		"ajax": {
        "url":  "http://www.performanceconverters.com/catscript3.php",
		"dataType": "jsonp"
        },
        "columns": [
                { "searchable": true },
                { "searchable": true },
                { "searchable": true },
                { "searchable": true },
                { "searchable": true },
                { "visible": false, "searchable": true },
                { "searchable": false },
                { "searchable": false }
            ],
        "search": { "search": "753506" },
        "order": [[1,'asc'],[2,'asc'],[0,'asc']],
        "bSort": false,
	    "bPaginate": false,
        "deferRender": true,
        "bLengthChange": true,
	    "bInfo": false,
        "bAutoWidth": true,
		"iCookieDuration": 60*60*24, // 1 day 
    } );

  $("#catdata thead th").each( function ( i ) {
        var select = $('<select><option value=""></option></select>')
            .appendTo( $(this).empty() )
            .on( 'change', function () {
                table.column( i )
                    .search( '^'+$(this).val()+'$', true, false )
                    .draw();
            } );
 
        table.column( i ).data().unique().sort().each( function ( d, j ) {
            select.append( '<option value="'+d+'">'+d+'</option>' )
        } );
    } );
} );