• Resolved ntel

    (@ntel)


    Dear friends, I have a large table which compares products, let’s say cars.

    So the first line of each column is the title of a model, and each line below the first is an attribute: brand, price, number of doors, lenght, weight, etc.

    I would like to display a table with the title :
    “Comparison of cars under 10000€” or “Comparison of Volskwagen cars”.

    If I make sure the “Price” line only has number and the “Brand” line only has strings, do I have a way, preferably in PHP, to display only the column that match the criteria? (in my example, “display column if cell in line 3 is <10000” or “display column if cell in line 2 =Volkswagen”).

    Thanks!
    ntel

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I can’t offer a readily available solution here.
    For the equal case (=Volkswagen), and if you lay out your table data in rows, you could use the TablePress Extension from tablepress.org/extensions/row-filter/
    Unfortunately, this does not support inequality (<10000) filtering, sorry.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Tablepress filters’ is closed to new replies.