You may want to take a look at how your render() method. Also if your internal cells use block elements like <div>
. It will be displayed vertically. So you may change that to <span>
. Or you can add style="float:left;" to your div's CSS. I had something similar to yours. But mine was a custom cell of a 2-row table with 1 column like below:
+----+
| |
+----+
| |
+----+
I used a CellList to hold a number of these custom cells. The problem with CellList is that it displays them vertically. So I had to override the CellList for it to display horizontally. I modified the CellList's template to have float:left and my cells started rendering horizontally just like below:
+----+ +----+ +----+
| | | | | |
+----+ +----+ +----+
| | | | | |
+----+ +----+ +----+