I found ColSpecGroups which may be the correct one to use for a document whereas colwidth is used for a ppt, but I can't find a single example of how to use it. I've been looking for hours. I'm so frustrated just trying to format this stupid table.
Alltb.ColSpecGroups(1) = Width('.75in');
returns:
The following error occurred converting from mlreportgen.dom.Width to double:
Conversion to double from mlreportgen.dom.Width is not possible.
When I make the table with Alltb=Table(3) There is a ColSpecGroups argument. I just can't find any examples of how to enter in the information.
Alltb.ColSpecGroups(1) = TableColSpecGroup('0.75in');
and
Alltb.ColSpecGroups(1) = TableColSpec('0.75in');
return the same error:
No constructor 'mlreportgen.dom.TableColSpecGroup' with matching signature found.
This line:
Alltb.ColSpecGroups(1) = '0.75in';
returns:
Subscripted assignment dimension mismatch.
This liine:
Alltb.ColSpecGroups{1} = '0.75in';
returns:
Invalid Table column spec group.
Which is weird, because
Alltb.ColSpecGroups
ans =
[]