As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
How would I filter a table for null or blank values using the standard filtering (not predefined filter values)? Thanks for your help!
Hi Richelle,
We need some more information like what kind of table do you use, is it server side or not? Do you have both blank values and NULL? Maybe it would be the best if you can send us link with that table so we can take a look.
Hi Miljko,
The table uses a mySQL Query and server-side processing. I want to be able to filter for blank values.
As a work-around, I modified the SQL View used to replace blank values with '0' so we can filter for '0' to find the blank values. But, this is not ideal and I would like to have a way to filter for these blank values. Any suggestions are appreciated!
Your plug-in is great, thank you.
Richelle
Hi Richelle,
Which filter type do you plan to use?
Our filters are string based so unfortunately they can't search for NULL value without code customization.
One of the solutions would be to modify the query using a WP hook/filter:
wpdatatables_filter_mysql_query( $query, $table_id )
And modify the query 'on the fly' in a way that a filter for blank string would additionally perform a ' OR IS NULL(column_name) ' search.