Hi,
thanks for your post, and sorry for the trouble.
I’m not really sure what you mean, and unfortunately, I could not check it. Your link only gives me a 404 Not found error.
Regards,
Tobias
Yes bit difficult to understand if you cant see the page. Try the page now it will show you what im talking about. The industry filter widget is not showing at the top
Hi,
I’m still not sure that I get it. If you want Industry to have a drop down, you can’t exclude column 2 in the datatables_columnfilterwidgets_exclude_columns parameter, as “Industry” is column 2 of the visible table.
Regards,
Tobias
Yes you are right, I removed 2 from the exclude column parameter but the industry drop down still doesn’t show
Here is the shortcode im using:
[table id=1 hide_columns=”1,2,6,7,8,9,10,11,14″
row_order=random responsive=”scroll” dataTables_paginate=true use_datatables=true datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns= 1,7,8,9,10,11,13,14
datatables_sort=false
datatables_paginate_entries=10
filter=”Yes” filter_columns=14 /]
Hi,
when I check your link from above, the exclude parameter for the ColumnFilterWidgets is still set to 1,2,5,6. Can you please check that again?
Regards,
Tobias
Thats odd, i just checked now and my shortcode is:
[table id=1 hide_columns=”1,2,6,7,8,9,10,11,14″
row_order=random responsive=”scroll” dataTables_paginate=true use_datatables=true datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns= 1,7,8,9,10,11,13,14
datatables_sort=false
datatables_paginate_entries=10
filter=”Yes” filter_columns=14 /]
Hi,
are you sure that that really is the Shortcode for the table in in your link? Could we be seeing some cached version of the page?
Is there a “Custom Command” on the “Edit” screen of the table?
Regards,
Tobias
Hi,
Yes that is really the shortcode in the table. I delete the cache through wordpress but didnt do anything. Is there a different cache for tablepress?
I do have a custom command for this table as follows:
“columnDefs”: [ { “orderable”: false, “targets”: [ 0, 1, ] } ], “columnDefs”: [ { “orderable”: false, “targets”: [ 0, 1, ] } ],”dom”: “Wlfrtip”,”oColumnFilterWidgets”: { “aiExclude”: [ 0,1,4,5 ] }, “language”: { “search”: “”, “searchPlaceholder”: “Search” }, “pagingType”: “simple_numbers”
Im still lost to why the industry drop down wont show.
Hi,
ah, that kind of explains it. You have the Shortcode parameter and a “Custom Command” that pretty much do the same.
Please change the 0,1,4,5 in the “Custom Command” to 0,4.
Regards,
Tobias
Hi,
That worked great, thanks, but it has now created another issue. I use this same table on another page, so that custom command change impacts the filters on this other table (refer https://bit.ly/2lvwuqu)
You will see there are two new filters that now appear on the top, one which is blank and the other named ‘Sale Status’. What is the best approach to remove these?
Hi,
we should actually try with the
"oColumnFilterWidgets": { "aiExclude": [ 0,4 ] }
part in the “Custom Commands”. Then, the values in the Shortcode are used. Can you therefore please remove this from the “Custom Commands”?
Regards,
Tobias
Hey Tobias. That worked perfectly. Thanks as always.
Hi,
great! Thanks for the confirmation!
Best wishes,
Tobias