We're currently using Infragistics.Documents library to generate PDFs. In some cases I need to output 2 tables side by side (see below). The typical layout setup for these reports is:
Section -> Band -> Flow -> Grid1, Grid2
Flow columns set to different bgcolor here to make them stick out. (click image to see clipped portion)
In the above case col1 of Flow is set to RelativeWidth(85) and col2 to RelativeWidth(15) with margin of 25. Grid and grid columns are set to AutoWidth.Instance. I would assume the second grid should take as much space as needed in order not to wrap the text but for some reason AutoWidth doesn't seem to work. The second table ends up being a fraction of the IFlowColumn it's added to and it's content ends up being wrapped. (see below).
Does anyone know if AutoWidth is even valid for IFlowColumn?
If not, is there a way to compute the width that a grid would take if it weren't force constrained? That way we could set the IFlowColumn width and grid width to a specific number rather than using relative width and AutoSize for IFlowColumn and IGrid...
Any help would be greatly appreciated.
Got this to work so I guess it is a valid combination (in case anyone was wondering).