examples/examples.js
function(data) {
            if ((data.row.section === 'head' || data.row.section === 'foot') && data.column.dataKey === "expenses" && coinBase64Img) {
                doc.addImage(coinBase64Img, 'PNG', data.cell.x + 5, data.cell.y + 2, 5, 5);
            }
        }
function(data) {
            if ((data.row.section === 'head' || data.row.section === 'foot') && data.column.dataKey === "expenses" && coinBase64Img) {
                doc.addImage(coinBase64Img, 'PNG', data.cell.x + 5, data.cell.y + 2, 5, 5);
            }
        }
function ( data ) { if ( ( data . row . section === 'head' || data . row . section === 'foot' ) && data . column . dataKey === "expenses" && coinBase64Img ) { doc . addImage ( coinBase64Img , 'PNG' , data . cell . x + 5 , data . cell . y + 2 , 5 , 5 ) ; } }
Use for adding content to the cells after they are drawn. This could be images or links. You can also use this to draw other custom jspdf content to cells with doc.text or doc.rect for example.
Use for adding content to the cells after they are drawn . This could be images or links . You can also use this to draw other custom jspdf content to cells with doc . text or doc . rect for example .