Reimplementation of 'CellLayout_Table'. Previously, CellLayout_Vertical with grid enabled and CellLayout_Horizontal where used to layout the table. The new implementation allows to customize the layout algorithm.