How can I make the table occupy 100% of the width of the page in the PDF?

How can I make the table occupy 100% of the width of the page in the PDF?

darioxlzdarioxlz Posts: 2Questions: 2Answers: 0

my pdf button config is

        {
          extend: 'pdf',
          text: 'Imprimir PDF',
          className: 'btn btn-danger',
          messageTop: `Reporte inventario ${new Date().toLocaleDateString()}`,
          title: `Reporte inventario ${new Date().toLocaleDateString()}`,
          customize: function(doc) {
            doc.defaultStyle.fontSize = 13;
            doc.defaultStyle.alignment = 'center';
            doc.styles.tableHeader.fontSize = 16;
          }  
        }

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.