PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

Multi Page Table - Auto Table creation

Open jenkinsns opened this issue 9 years ago • 1 comments

Kindly guide me, I am using below example to create a table with multiple rows. Expecting Solution : While rows increased dynamically, automatically create new slide if rows crossed the layout. I don't know how to use tabAutoPaging here.

var pptx = new PptxGenJS(); var slide = pptx.addNewSlide(); slide.addText('Demo-03: Table', { x:0.5, y:0.25, font_size:18, font_face:'Arial', color:'0088CC' });

var rows = [ ['A1', 'B1', 'C1'], ['A2', 'B2', 'C2'] ]; var tabOpts = { x:0.5, y:2.0, w:9.0, fill:'F7F7F7', font_size:18, color:'6f9fc9' }; slide.addTable( rows, tabOpts );

Screenshot attached FYR. table

jenkinsns avatar Feb 09 '17 17:02 jenkinsns

Thank you, I found the solution from another question. Download and updated the new version it is working.

Excellent project gitbrent, Thank you very much

jenkinsns avatar Feb 09 '17 17:02 jenkinsns