Support » Plugin: Ninja Tables - Best Data Table Plugin for WordPress » filter exact same term in table

  • Resolved ramanandmehta


    Hello sir thank you for this amazing plugin.
    I am showing table using this shorcode- [ninja_tables id=”9990″ filter=”till”]

    actually, I want to show table by filtering word till but the problem is this filter also adding data of word still.
    till and still both are different.

    How can I filter exact same term. I have also tried this- [ninja_tables id=”9990″ filter='”till”‘] but this is showing no result.

Viewing 1 replies (of 1 total)
  • Plugin Support numan


    Hello @ramanandmehta,

    When you used ninja table advanced shortcode to filter data based on any specific table word, it will also filter if other words contain the same string in it. But you can get rid of this by using some other shortcode.

    First, you can specify the column from which the data will be filtered so if the other columns contain the same string, that will be ignored. So, you can use the shortcode like this:
    [ninja_tables id=”9990″ filter=”till” filter_column=”column_key”]
    Here you will have to assign the column key of that column from which the string will be filtered.

    Also, it is possible to Negate a value from filtering so if you want to exclude the ‘Still’ word from filtering, use the Negate filter like this:

    [ninja_tables id=”9990″ filter=”till -still”]


Viewing 1 replies (of 1 total)
  • The topic ‘filter exact same term in table’ is closed to new replies.