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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Cris LaPierre
el 30 de Jun. de 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 comentarios
Ver también
Categorías
Más información sobre Simulink Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!