Report generator how to repeat the first line of a large table on each pages comment repeter la ligne de titre d'un tableau sur toute les pages
1 回表示 (過去 30 日間)
古いコメントを表示
J(utilise le report generator pour construire un raport word qui inclut de grands tableaux
Comme les tableaux sont grands il s'impriment sur plusieurs pages. Je voudrait que la premièrte ligne tu tableau (titre des colones) soit imprimée en haut du tableau sur chaque page.
je ne comprends pas comment faire cela et plus généralement comment défnir le style de mes tableaux.
L'exemple avec Magic Square est rop simple pour répondre à ma question.
I am using the report generator to build a word report that integrates larges tables of data.
as the table is large, it will be printed in more than one pages. I would like the first line of the table (title) to be repaeted on eache page of my report .
I do not hunderstand how to do that and generally how to define the style of the table.
0 件のコメント
回答 (1 件)
Cris LaPierre
2023 年 6 月 30 日
I think you want to use RepeatAsHeaderRow. See here: https://www.mathworks.com/help/rptgen/ug/mlreportgen.dom.repeatasheaderrow-class.html
table2.row(1).Style = [table2.row(1).Style,{RepeatAsHeaderRow(true)}];
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!