XRTable.AdjustSize() Method
Makes the table width equal to the total width of its cells and the height equal to the total height of its rows.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Remarks
A table has a default width and height. Use the AdjustSize method to calculate the table’s size based on the specified (or the default) size of its rows and cells. Call the AdjustSize method before calling the XRTable.EndInit method.
Tip
Online Example: Runtime table creation best practices (iterative approach)
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AdjustSize() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.