• Add “ALL” option in dropdown filter of datatables.net

    by  • September 24, 2014 • Blog

    When working with datatables.net in Bootstrap framework, my customer require me an “All” option to show all of records in table. It doesn’t show default in datatables and we need to do with a small tips.Screen Shot 2014-09-25 at 6.56.19 AM

    Here is the simple tips for you to display “All” option in dropdown filter like the screenshot above:

    You see the key is “-1” what will show all of records in table for you. It ‘s quite simple but it will take your time if you don’t know and this tutorial I hope it will save you a little time.

    Thanks and welcome any comment!

    Reference: http://datatables.net/