Report Generator - Prevent Table from Breaking onto Multiple Pages
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Madeline Oglesby
el 17 de Mzo. de 2015
Comentada: Sean de Wolski
el 20 de Mzo. de 2015
Is there a way to automatically detect with the report generator when a table will not fit on page and insert a page break so that the table can start on the next page?
0 comentarios
Respuesta aceptada
Sean de Wolski
el 17 de Mzo. de 2015
Since this only applies to docx reports, this can be done by defining a table style and then applying it when necessary.
Attached in the *.zip file is a word document with this custom table style.
6 comentarios
Sean de Wolski
el 20 de Mzo. de 2015
The reason it's splitting isn't so much because it's empty as it is because [] creates an empty double array and the input should be a string.
Use '' instead.
table_sample = {'','Sample Table';
'1','10%';
'2','20%';
'3','15%';
'4','15%';
'5','30%';
'6','5%';
'7','5%'};
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!