stacktable.js icon indicating copy to clipboard operation
stacktable.js copied to clipboard

Is there a way to change what becomes the st-head-row elements?

Open devonmather opened this issue 10 years ago • 1 comments

I have a weekly calendar table, when it resizes down to mobile the days are on the side and the times are on the top, it would be cool if this could be reversed, any chance this is possible?

e.g. http://www.yummymummyfitness.com.au/timetable/

Regards, Devon Mather

devonmather avatar Jan 11 '15 23:01 devonmather

I'm wondering the same thing... I have some complex tables, with multiple header rows:

2015-05-13_1308

I've been struggling to find a way to make dozens of these types of tables responsive. I think StackTable is the best solution I have found, but those multi-level headers are proving to be problematic. If I could just define which

or to use as the column key, I think I'd be golden. In the above example, I'd make the 5 headers on the last row the column key, since the ones above it are really just extraneous information. Is there currently a way to do this?

2015-05-13_1308_001

JGraeff avatar May 13 '15 17:05 JGraeff

I wanted to remove the st-head-row, which I did in the stacktable.js code, but now I need to make it stop creating separate

for those head elements. My table doesn't have a head

bruno-vaz avatar Jul 13 '16 19:07 bruno-vaz