Comments nedcor42002 started the conversationJuly 26, 2017 at 8:12amHiI'm filtering my table columns via selectbox and predefined list, is there anyway I can add "ALL" on top of the predefined list which will show everything of such column.Thanks with regardsJack 1,845Miloš repliedJuly 26, 2017 at 12:52pmHi Jack,Thank you for your purchase.In file ../wp-content/plugins/wpdatatables/assets/js/jquery-datatables/jquery.dataTables.columnFilter.js around line 660 you will find this code: var r = '<select class="search_init select_filter selectpicker" data-index="' + iColumn + '"><option value="" class="search_init">' + ' ' + '</option>'; replace that code for this one var r = '<select class="search_init select_filter selectpicker" data-index="' + iColumn + '"><option value="" class="search_init">' + ' All' + '</option>'; Best regards.Kind Regards, Miloš Jovanović[email protected] Rate my support wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community You can try wpDataTables add-ons before purchasing on these sandbox sites: Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables nedcor42002 repliedJuly 30, 2017 at 12:24pmHi BogdanUnder ../wp-content/plugins/ I do not see wpdatatables at all. Would this folder belongs some other location?ThanksJack[deleted] repliedJuly 31, 2017 at 10:24amHi Jack,If plugin is activated on your website, there must be wpdatatables folder in it. Can you please check if you are looking at right location? Sign in to reply ...
Hi
I'm filtering my table columns via selectbox and predefined list, is there anyway I can add "ALL" on top of the predefined list which will show everything of such column.
Thanks with regards
Jack
Hi Jack,
Thank you for your purchase.
In file
../wp-content/plugins/wpdatatables/assets/js/jquery-datatables/jquery.dataTables.columnFilter.js around line 660 you will find this code:
replace that code for this one
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan
Under ../wp-content/plugins/ I do not see wpdatatables at all. Would this folder belongs some other location?
Thanks
Jack
Hi Jack,
If plugin is activated on your website, there must be wpdatatables folder in it. Can you please check if you are looking at right location?