Grid: Change orientation?

How do I rotate or change orientation of rows and columns in the new Grid widget in Vaadin 7?

My requirements are such that I need to change both. a) header-rows and b) cells content. In this image, there are twelve columns (1-12) and eight rows (A-H), so I’ve to change the orientation of twelve columns into eight rows and eight rows into twelve columns and all its cell content as well.

Is it even possible using Vaadin Grid? If yes, how to do such thing.

Hi,

unfortunately there is no such feature in Grid. I think you could implement something like this by manually rotating/replacing the properties/items within your container (that supplies data to the grid). This should not be that much work, actually.

-tepi

Thanks. I did manage to do this manually and now I can literally change the rotation of the Vaadin grid. :slight_smile: