Hey everyone!
With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:
Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.
We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.
In the meantime, if you need help, feel free to:
-
Use the support widget on the bottom right of our websites (Amelia and wpDataTables) — our AI-powered assistant is available 24/7 and can help with many common questions.
-
Visit our documentation, articles, or YouTube channels for quick answers and step-by-step guides.
https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos
https://www.youtube.com/@wpDataTables/videos
Thank you for being so understanding, and we hope you enjoy the long weekend!
I would like to filter out rows that have Quantity < 1 (i.e., = 0). I'm comfortable programming, but I'm not sure if there's already a built-in way to do it.
The table in the URL syncs with a Google spreadsheet (thank you for that feature!). I'd basically like to have a default filter on the column of "> 0", which is similar to the "predefined value" of the filter column, but it can only be specific values, not a formula.
If I can't hide the row, I can use conditional formatting to grey out the row, but ideally I could hide it.
Hi Abigail,
Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.
-
I am not sure i fully understood exactly what you need to achieve.
1. If you just need to hide any rows that have value in Quantity less than 1, with a Google Sheet Table, one way is with Conditional Formatting.
Like this, here is my Test Table :
A Condition like : Check if any cell of this Column is less than 1 , in that case, set the row CSS class to "hide".
2. Or if you don't wish with the Conditional, but to allow users to change the Filter/clear it;
Then you can set a Number Range Filter, and set the "from" value to be predefined as "1".
3. Another way can be via URL pre-filtering.
Please check the Documentation on the hyperlink with our example.
With a Number Range, you need to use the " | " stick symbol for the URL predefined filter parameter on this Column in order to get only the "from" value on the number range.
On my example the full URL is :
Since the URL pre-filtering uses a zero based index for column number, my "Quantity" Field is indexed as number 2, so i add this as parameter :
?wdt_column_filter[2]=1|
-
I hope that one of these methods can achieve your goal, but let me know if i misunderstood it.
Thanks.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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