Can I add an image in export excel file, top row of excel? like a logo for example

Can I add an image in export excel file, top row of excel? like a logo for example

ds1234ds1234 Posts: 2Questions: 2Answers: 0

What i need to change:
{
extend: 'excel',
className: 'colorName',

      text: '<h2>EXPORT TO EXCEL</h2>', //'Export to Excel',
      //orientation: 'landscape',
      //pageSize: '11x17',
      title: 'Hello',
      exportOptions: {
        modifier: {
          search: 'applied',
          order: 'applied'
        }
      },
      customize: function (doc: any) {
        console.log(doc);
        const worksheets = doc.xl.worksheets;
        const sheet1 = worksheets['sheet1.xml'];
        console.log(sheet1)
        sheet1.querySelector('c is t').innerHTML = 'Testing';
      }
    }

Answers

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    Duplicate of this thread, please don't post the same question twice,

    Colin

Sign In or Register to comment.