[Plugin: WP-Table Reloaded] Hiding certain rows from sort, and displaying “subsections”?
-
I am not sure if these two questions are directly related, but I suppose they are so I will ask them both in this thread.
I am building a website to track the results of some horse shows. Each show has multiple “classes”, and several of those classes the results are broken down into divisions. The people who run the show enter all the data into an Excel spreadsheet. Their old way of doing the website was to use Excel to “generate” the html, including the little tabs for worksheets at the bottom. We’re loving the wp-table-reloaded plugin so far and it seems to be working great for our purposes!
I have entered one show’s results on the following page: https://72.52.241.3/~nbhatx30/?p=172 (this is a development link). So far I’m getting around the “tabs” issue by generating each “worksheet” from Excel as its own table, and then using some css/js to hide those tables and then return the corresponding div (containing that particular table’s shortcode) upon clicking the link at the top.
The main problem, however, lies in the sorting part. If you click to sort, say, the “Name” (Rider’s name) column, it sorts them correctly according to being alphabetical, which puts the “1D, 2D” etc. at the top. We need some way to exclude those rows from the sort. I think I read that this is possible somewhere but I’m still searching for it.
Now, to take that concept one step further, is how the results of each “D” (division) are displayed. Using the first table displayed (the “Open 4D Poles” table) as an example, you can see how there are 4 divisions, with the first, second, and fourth actually having results. In this show’s case, there were no results for the 3rd Division (but there usually are). Is there any way to possibly sort the fields using the sort headers columns but keeping the “divisions” in tact? So if you sort by TIME, instead of seeing the 1D,2D,3D,etc headers lumped at the top, and then ALL times listed in numerical order, is there any way to divide them out based on the divisions they are in? If this isn’t possible, that’s fine, I’d like to stick to the sorting method in my first question – just removing some of those headers.
Oops I forgot to say, here is a screen shot of the Open 4D Poles Excel spreadsheet – https://screencast.com/t/YmY0MWNi … If I need to change my “export method” to something else (for example, remove headers or something?) I’m certainly able to do that – I would just need to know how as I’m not very familiar with Excel, and I can’t request the show people to change how they enter it.
Thanks again!
- The topic ‘[Plugin: WP-Table Reloaded] Hiding certain rows from sort, and displaying “subsections”?’ is closed to new replies.