Three questions about filtering
-
Hello Tobias, one more time!
Let me enjoy and ask you three things:
1- Is it possible to display only one row or cell with a higher value?
That is…
[filter column cell with maximum value of a table and display]2 – Is it possible to compare one line with the other indicating that it is smaller or larger than the previous one with a text next to it?
Example:
River Level at 1:30 PM | 350 rising (higher) |
River Level at 1:20 PM | 330 Stable |
River Level at 1:10 PM | 330 rising |
River Level at 1:00 PM | 310 descending |This text from the second column (descending, stable or rising) I can replace with an icon up or down
In this way, the second column compares the first line to the second line, and so on. There would be no need to display on all lines as in the example above. I just need to compare the first line.
Example:
[FILTER THE FIRST LINE AND VIEW THE DATA]
?Level of the River at 14:30 – 350 UpDoes it seem complex?
3 – Do you have a better idea of ??displaying data from one line per day?
My idea is to create a tide prediction chart. I already have all the navy data and it gives perfectly in the table (one die per line / day). Each day I would display one line (365 lines / year or 30 lines per month).Example:
A155 | Sat 16 Jun | 4h “low tide” 0,10m | 11h “High tide” 3,80m |
A155 | Sun 17 Jun | 3h “low tide” 0,09m | 13h “High tide” 3,70m |The first column is the identification of the beach (point).
My current idea is to install an event plugin and add a shortcode “Row Filter” with the filter “A155 || Sat 16 Jun” … So, every day related it displays a data, However, it seems to me laborious, a instead I will add many posts in plugin events.
Do you have any idea if this was possible by script, jquery, PHP or some hook in the plugin itself?
Type (sugestion)…
[table filter-if-date-now id-cell = A155] or [table filter-if-time-now id-cell = A155].Thus, the shortcode compared the date in the system and displayed the related line. That way, I just needed a shortcode only, since the “Beach Ids” and dates were already inserted in the table.
Any solution of issues already exists in your plugin? If not yet, is there any way, idea, suggestion of plugin, hook or anything that would facilitate the process?
Any suggestion is appreciated
- The topic ‘Three questions about filtering’ is closed to new replies.