DataTables Filter 碎片

* Custom filtering function which will filter data in column four between two values */
$.fn.dataTableExt.afnFiltering.push(
        function(oSettings, aData, iDataIndex) {
            if( oSettings.nTable.id === "my_filtering_table") {
                varselectCode = document.getElementById('statusSelect').value;
                returnfilterRow(selectCode, aData);
            }
            else{
                returntrue;
            }
        }
);

你可能感兴趣的:(DataTables Filter 碎片)