Tables: Specify how many columns show on each viewport?
-
Hello, I’ve just been experimenting with this today to see if it meets my requirements, but there’s something I’ve not been able to solve so far.
I’ve got a table with three columns. The left column is a type of item/product and the other two columns display numerical relating to its specifications. It would be great if all three columns could be displayed when the display is wide enough, and on mobile portrait, if only the column with the product name could show, filling the screen width, with the “+” button to see the related info in the other two columns.
Different things are happening each time I reload the page. What happens is this:
Desktop: either two columns fill the screen width, with the “+” button to see the other column
or
All three columns are shown, but the table is really narrow, taking up maybe a third of the screen width.
On mobile portrait:
Two columns show, with the “+” button to see the other one
or
Just the product name column shows, which is what I actually want, although the header text is missing (that field is blank apart from the background)
Refreshing gives different results, and is unpredictable.
This may seem like a small thing, but as my columns are product/info 1/info 2, it would make sense for users to see all three columns where there’s space to do so, or just the product name on mobile portrait. They would then have to press “+” to see ALL the relevant info, rather than see 50% of the relevant info and then have to press to see the other half.
Have I missed something? I could maybe sort this out with media queries, but it would be great if I’d missed a button somewhere!
Any help greatly appreciated, thanks!
(Mac: Safari and Firefox, including viewport previews on both. Safari and iCab on iPhone)
- The topic ‘Tables: Specify how many columns show on each viewport?’ is closed to new replies.