Makes the table width equal to the total width of its cells and the height equal to the total height of its rows.
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.
Online Example: Runtime table creation best practices (iterative approach)