RepeatAsHeaderRow not working for FormalTable

For a FormalTable, setting:
TableName.Header.Style={RepeatAsHeaderRow(true)};
The table does not repeat the header if the table flows on to the following page.
Does this only work for informal tables?
Thanks.

 Accepted Answer

Hi Callum,
RepeatAsHeaderRow format works for the FormalTable.
As this is a table row format, it should be applied to a row inside the header, and not the header itself. For example:
TableName.Header.row(1).Style = {RepeatAsHeaderRow(true)};
Thanks,
Rahul

More Answers (0)

Categories

Products

Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!