Open Maclaon opened 1 year ago
@Maclaon you can take a look to my workaround solution here
here
@Maclaon you can take a look to my workaround solution here
Thanks! i am using your customTableRender
code in my, but the content show nothing!
when i add
style: {
'*': Style(display: Display.inline),
}
the content can render, but not the right
and the log
shows:
======== Exception caught by rendering library =====================================================
The following assertion was thrown during layout:
A RenderLayoutGrid overflowed by 171 pixels on the right.
The relevant error-causing widget was:
The edge of the RenderLayoutGrid that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderLayoutGrid.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the RenderLayoutGrid, or using a scrollable container, like a ListView.
The specific RenderLayoutGrid in question is: RenderLayoutGrid#0e74a relayoutBoundary=up17
... parentData: offset=Offset(0.0, 0.0) (can use size)
... constraints: BoxConstraints(w=0.0, 0.0<=h<=Infinity)
... size: Size(0.0, 267.0)
when i add
style: {
'table > tr > td > div': Style(display: Display.inline),
}
the screenshot is:
and the log
is:
A RenderLayoutGrid overflowed by 64 pixels on the right.
The relevant error-causing widget was:
The edge of the RenderLayoutGrid that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderLayoutGrid.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the RenderLayoutGrid, or using a scrollable container, like a ListView.
Describe the bug:
Table
with nesteddiv
elements does not show the correct content!HTML to reproduce the issue
Html
widget configurationExpected behavior
Show completely table content
Screenshots
Correct content Screenshots
Tips
html
content is not corresponded with the screenshots!