title: Export React Big Scheduler view to PDF / CSV
body: <p>Has anyone succeeded in exporting the React Scheduler library view(day/week) into PDF or CSV?
  Am working on a project that has ability to export to either PDF or CSV.</p>
  <p>I have tried html2Canvas and pdfMake solution and the page seem blank.
  Kindly help if you have.</p>
  <p>Here is how i convert elements to canvas to generate pdf.</p>
  <pre><code> const handleExportToPDF =  async () =&gt; {
          html2canvas(document.querySelector('#printpdf'), {height: 1000, width: 800}).then(canvas =&gt; {
            var data = canvas.toDataURL();
            console.log(canvas)
  
            var pdfExportSetting = {
              content: [
                {
                  image: await data,
                  width: 500
                }
              ]
            };
            pdfMake.createPdf(pdfExportSetting).download(&quot;test_file.pdf&quot;);
          });
        };
  </code></pre>
  <p>Here is my scheduler</p>
  <pre><code> &lt;span ref={scheduleRef} id='printpdf'&gt;
                    &lt;Scheduler
                          schedulerData={schedulerData}
                          prevClick={prevClick}
                          nextClick={nextClick}
                          onSelectDate={onSelectDate}
                      /&gt;
                  &lt;/span&gt;
  </code></pre>
  <p>Will appreciate.</p>