Hi Robert,
The reason I came across this article is because I am always on the lookout for new ideas. Anyway while looking I found this article dbushell.com/2016/03/04/css-only-responsive-tables It seems to do exactly what you are asking. I hope it helps. Not had time to try this myself though.