Title: return no rows when search string is empty
Last modified: August 21, 2016

---

# return no rows when search string is empty

 *  Resolved [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/)
 * please help me out….!!!!!
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715480)
 * Hi,
 * please help me out with some more information here.
 * Without some more details, and a link to the page with the table where this happens,
   there’s nothing that I can do…
 * Thanks!
    Tobias
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715485)
 * how to hide all rows when the search string is null or empty
 * regards
    mohaunix
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715493)
 * example
 * [http://live.datatables.net/aticux/](http://live.datatables.net/aticux/)
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715514)
 * hi buddy,
 * here is my information
 * if search box = null then
 * **no rows **
 * if search box = string then
 * particular string regarding **row displayed**
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715515)
 * how to do this type of method
 * regards
    mohaunix
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715585)
 * tobias why no reply…. please help boss
 * regards
    mohaunix
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715633)
 * Hi mohaunix,
 * firstly: I don’t want to sound unfriendly, but please don’t pressure me like 
   this. I’m always happy to give support in the best way I can. However, I’m doing
   it on my own schedule, when I have the time and the mood for it. Constant bugging
   will not help this. Remember, you are not paying for this and getting this for
   free, so please don’t make demands like this. Thank you for your understanding!
 * Now, regarding your question:
    This is possible with this Premium Extension for
   TablePress: [http://tablepress.org/extensions/datatables-inverted-filter/](http://tablepress.org/extensions/datatables-inverted-filter/)
   However, using that is a little bit more complicated than for other extensions.
   First, install and activate it like a regular WordPress plugin. Then, you’ll 
   need to modify the PHP file of the Extension. In line 22, the array needs to 
   be filled with the slugs of all pages that you want to use this function on. 
   The “slug” is the last part of the URL of a page.
 * Regards,
    Tobias
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715635)
 * sorry 🙂
 * sorry very very much 🙂
 * regards
    mohaunix
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715651)
 * hi tobias
 * sorry my friend…. 🙂 sorry very much friend 🙂 … i feel lot now… apologies
 * i never pressure you my friend….
 * thanks for your understanding..
 * regards
    mohaunix
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715663)
 * Hi,
 * don’t worry, everything is good.
    Did the Extension help?
 * Regards,
    Tobias
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715665)
 * hi
 * excellent buddy… my project finished
 * i felt lot for pressure you…
 * regards
    mohaunix
 *  Thread Starter [mohaunix](https://wordpress.org/support/users/mohaunix/)
 * (@mohaunix)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715667)
 * hi buddy
 * [@tobiasbg](https://wordpress.org/support/users/tobiasbg/) extension rocks…….!!!!!!!!
 * keep rocking
 * regards
    mohaunix
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715723)
 * Hi,
 * very nice! That’s great to hear!
 * Best wishes,
    Tobias

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

The topic ‘return no rows when search string is empty’ 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/)

 * 13 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/return-no-rows-when-search-string-is-empty/#post-3715723)
 * Status: resolved