Title: Hide/filter rows based on current date
Last modified: August 21, 2016

---

# Hide/filter rows based on current date

 *  Resolved [letham](https://wordpress.org/support/users/letham/)
 * (@letham)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/hidefilter-rows-based-on-current-date/)
 * At [http://www.motbakke.com/](http://www.motbakke.com/) I have a table that shows
   170+ Norwegian uphill races. At this time it is sorted ascending by date.
 * Optimally I would like to somehow hide rows with dates that have passed, so as
   to only show upcoming races (with the added option to show all).
 * Is there any way to accomplish this with Tablepress?
 * Thanks for a great plugin!
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/hidefilter-rows-based-on-current-date/#post-4101632)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Unfortunately, I’m not aware of an immediate solution to this, as the Row Filtering
   Extension for example can only hide rows where something is equal to something
   else, but it does not support e.g. date comparisions.
    However, I can imagine
   a solution based on some JavaScript code, very similar to what you see on this
   page: [https://datatables.net/release-datatables/extras/Scroller/api_scrolling.html](https://datatables.net/release-datatables/extras/Scroller/api_scrolling.html)
   Basically, I could develop a TablePress Extension that would scroll to the next
   upcoming race). The races that have passed are then not hidden but can be reached
   by scrolling up again.
 * Unfortunately, this Extension will require some extra work, and that would need
   more time than what I can provide as free support right now. However, we could
   maybe work something out with a compensation. If that would be an option for 
   you, please send me an email (my address is in the main plugin file “tablepress.
   php”), so that we can discuss details.
 * Regards,
    Tobias
 *  Thread Starter [letham](https://wordpress.org/support/users/letham/)
 * (@letham)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/hidefilter-rows-based-on-current-date/#post-4101635)
 * Thank you for a quick reply, Tobias!
 * I will get back to you by email next week if we decide to pursue this further.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/hidefilter-rows-based-on-current-date/#post-4101636)
 * Hi,
 * alright, sounds good!
 * Best wishes!
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hide/filter rows based on current date’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/hidefilter-rows-based-on-current-date/#post-4101636)
 * Status: resolved