FlowGrid Extension #60
sveinhelge
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This looks like a totally new layouting element. As far as I understand, this is equivalent to the multi-columns layout in CSS. I must confess, this one is tricky as it introduces a new kind of wrapping. Right now, we support wrapping only between pages. In here, we would need to support wrapping against columns AND pages. Without some code changes in most components, this may be difficult to implement. I will put it on the roadmap somewhere 😀 If anybody else needs such functionality, please leave a comment - this will help me prioritize this feature. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say we have a grid with 3 columns.
I want to fill all columns with block of texts.
My data are:
Text
Text
Text
Text
This is the result I would like to have:
1 Text | 3 Text | 7 Text
2 Text | 4 Text | Text
Text | 5 Text | Text
---Page Break---
8 Text | 10 Text
9 Text
Text
Since the number of elements and length of texts are dynamic I would like the block of texts to float vertically.
So It should fill the first column first as long as it can fit on the same page. If not, it should add the text block in the next column.
When all columns are full, move to the next page.
Then we would of course have scenarios where one text block will not fit in one entire column on one page. We could then spread that text over into the next column on the next page. Then start with the next text block in the next column. In the first versjon it would be ok if the rendering breaks if you add a text block which would not fit on an entire page. Leaving that responsibility to the document creator.
Beta Was this translation helpful? Give feedback.
All reactions