Our blazing fast Grid component built with pure JavaScript


Post by Webethics »

Hello

I have tried to export the pdf with MultiPageExporter, but I don't understand where we need to set this property.
As I have set the

exporterType: 'multipage'

but it's not working for me.
I want to use the MultiPageExporter feature with the simple pdf export, if I have used the showExportDialog then it's working fine but I need to use this feature with the simple export feature.

Please guide me on how can I export multipage pdf with a simple export feature.

I have tested this example but it's working with the showdialouge option.
https://www.bryntum.com/examples/grid/export/

Some reference code

features : {
        pdfExport : {
            exportServer: 'https://dev.bryntum.com:8082',
            headerTpl,
            footerTpl,
            exporterType: 'multipage'
        }
    },
    
grid.features.pdfExport.export();

Post by mats »

Looks like a bug, we'll get that fixed. Try passing it when you call export instead?

grid.features.pdfExport.export({ exporterType: 'multipage' });

Post by Webethics »

Thanks, it worked for me.


Post Reply