Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81803

Filter columns with server-side processing

$
0
0

Hello,

I try to set up columns filtering with server-side processing.
I know this is a question that have been already answered a few times, but all the solutions doesn't work for me.

This is my DataTable :

 /*
     * Creation of the datatable
     */
     mosRuleTable = $('#rulesTable').DataTable( {
            "sAjaxSource": "/mos/marketordersender/rules",
            "bServerSide" : true,
            "bProcessing" : true,
            "bDestroy" : true,
            "paging":   true,
            "ordering": false,
            "info":     false,
            "aoColumnDefs": getMOSRuleDef(editMode),
            "oLanguage" : {
                "oPaginate" : {
                    "sFirst" : "First",
                    "sLast" : "Last",
                    "sNext" : "Next",
                    "sPrevious" : "Previous"
                }
            },
            "sPaginationType" : "full_numbers",
            "bFilter" : true,
            "bSort" : false,

When i try to use table.columns().every( function () { to set up the filtering It say that columns is not a function.

Can someone help me ?


Viewing all articles
Browse latest Browse all 81803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>