Any idea on how to removed only this tab filtering? or remove the value inside

Any idea on how to removed only this tab filtering? or remove the value inside

nyankoonyankoo Posts: 3Questions: 2Answers: 0

Im using the dropdown filtering column but i dont know how to remove the value of this tab, even though its a button

This is the code:

_ ~~

$(document).ready(function() { $('#employee_data').DataTable( { scrollY: "400px", scrollX: true, scrollCollapse: true, paging: false, fixedColumns: true, initComplete: function () { this.api().columns().every( function () { var column = this; var select = $('') .appendTo( $(column.footer()).empty() ) .on( 'change', function () { var val = $.fn.dataTable.util.escapeRegex( $(this).val() ); column .search( val ? '^'+val+'$' : '', true, false ) .draw(); } ); column.data().unique().sort().each( function ( d, j ) { select.append( ''+d+'' ) } ); } ); } } ); } );~~

_

Answers

  • nyankoonyankoo Posts: 3Questions: 2Answers: 0

    im newbie here and dont know how to properly ask a question here sorry

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.