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
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Cris LaPierre
le 30 Juin 2023
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 commentaires
Voir également
Catégories
En savoir plus sur Simulink Report Generator dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!