Default Data Filtering (New)

We have just added some brand new features in Ninja Tables. We would like to thank Michael Maliniak, who submitted a support ticket and asked us to add this feature.

The feature allows you to quickly and easily display just the rows you want to show by providing a simple filter text in the table shortcode. In this case, you should filter the data that has created earlier in the table.

For example, Say you have a table with lots of movie data and you want to show the rows that only contain “Adventure”. This can be previously done in only one possible way- your user had to manually search for “Adventure” movies manually, given that you have allowed the Search/Filter option in your table. But the Default Data Filtering feature allows you as an admin to set default filtering options in a table containing a huge amount of data.

Upgrade to Ninja Tables Pro
Upgrade to Ninja Tables Pro and make your tables more powerful

We also added more useful features regarding this. Please check the usage.

Usage:

Simple

[ninja_tables id="TABLEID" filter="john smith"]

This will show the rows which contain john smith

AND

Make a query more specific by separating additional parts with a capitalized AND string.

[ninja_tables id="TABLEID" filter="john AND smith"]

This would match all rows containing bothjohn andsmith.

OR

Expand a query by separating additional parts with a capitalized OR string.

[ninja_tables id="TABLEID" filter="john OR smith"]

This would match all rows containing both john OR smith

Negate

Exclude a value from the results by prefixing it with a minus - sign.

[ninja_tables id="TABLEID" filter="john -smith"]

This would match all rows containing the wordjohn but would exclude any containingsmith.

Make a query more specific by separating additional parts with a capitalized AND string.

Phrases

Match an exact word or phrase by wrapping it in quotes ".

[ninja_tables id="TABLEID" filter='"brown fox"']

The above query would match all rows containing the exact phrase brown fox. Please note that this feature is only available on Ninja Tables Pro Add-on. If you did not purchase NinjaTables Pro, You can purchase the add-on right now. I can say, It’s worth your money

Upgrade to Ninja Tables Pro
Upgrade to Ninja Tables Pro and make your tables more powerful
Tags ,

Was this article helpful to you?

29 1

How can we help?

Please submit a support ticket if you have any question or pre-sale questions. Our Customer support engineers will answer your query as soon as possible

Open a support ticket