CodersCare / gridelements

Be part of the future of TYPO3! Support Gridelements now and unlock exclusive early access to v13! The well-established Gridelements V12 elevates TYPO3 by bringing grid-based layouts to content elements, with powerful features like advanced drag & drop and real references. Supercharge your workflow and make daily tasks easier. Sponsor us here:
https://coders.care/for/crowdfunding/gridelements
GNU General Public License v3.0
5 stars 25 forks source link

Colspan has no effect PageModule when using Fluid rendering #53

Closed YKWeyer closed 1 year ago

YKWeyer commented 1 year ago

When using fluidBasedPageModule on TYPO3 v11, the colCount / colspan keys has no effect on the rendering in the Page module. All columns will automatically be adjusted based on their content.

It seems to be caused by the lack of a <colgroup> tag inside the grids <table>

Cybercraft-GmbH commented 1 year ago

colspan has nothing to do with adjusted widths of table cells or their respective ration to each other. It just determines the way table cells overlap each other.

Since a fixed maximum width of a cell will break the rendering of nested Gridelements at a certain point, this behaviour most likely won't change in the near future. Even colgroup tags could only determine a minimum width, but would not help to fix that problem completely, since a maximum width again would break nested structures.

YKWeyer commented 1 year ago

Since a fixed maximum width of a cell will break the rendering of nested Gridelements at a certain point, this behaviour most likely won't change in the near future

I am very sorry for the lack of clarity, but it is not a feature request but a bug report.

This is something that used to work, and that probably still works when the fluid rendering is disabled, since it still is part of the DrawItem::renderGridLayoutTable logic.