Treetable with horizontal Tree

Hey,

for my project I need a table which has a horizontal and a vertical hierarchical behavior (so that I can collapse rows and/or columns). For a horizontal hierarchical behavior I could use the treetable. Because I am not sooo familiar with vaadin I don’t know what would be the best way to add an additional horizontal tree.

Is there a good possibilty to extend the treetable-component so that the columns act like a tree? Or should I use two normal trees - one horizontal and one vertical - and a gridlayout for the “cells” of the table? Or does somebody have a better idea to solve this very special problem? :grin: