Buttons - Search

Buttons - Search

MariuszMariusz Posts: 1Questions: 1Answers: 0

Hello,

I'm trying to write js which will filtr my table, but I cannot do it... and I do know how...

I want for example click on "UP" button (Bootstrap) and then in the column "Status" I want only to have the rows where status = "UP".

<script type="text/javascript">
        $(document).ready(function(){
            $('#datatable').DataTable( {
                dom: 'Bfrtip',
                buttons: [
                    'csv', 'excel'
                ]
            });
        });
    </script>

Answers

This discussion has been closed.