RepeatAsHeaderRow not working for FormalTable

6 次查看(过去 30 天)
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.

采纳的回答

Rahul Singhal
Rahul Singhal 2021-8-3
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

更多回答(0 个)

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by