Hi Raviprakash,
should be possible to use styling to rotate the whole table, see https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate()
Edit: I see that you edited your question, so the above does not fit anymore. Have a look at this forum post: