Posted 22 June 2018, 8:04 am EST
Hi,
We are sorry, currently, images are not supported during excel I/O.
For changing border style and color you can pass a formatItem function to the FlexGridXlsxConverter.save() method.
Please refer to following code snippet
var wb=wijmo.grid.xlsx.FlexGridXlsxConverter.save(grid,{
formatItem:(xlsxFormatItemArgs)=>{
var cellBorder=xlsxFormatItemArgs.xlsxCell.style.borders;
cellBorder.left=cellBorder.left?cellBorder.left:{};
cellBorder.right=cellBorder.right?cellBorder.right:{};
cellBorder.top=cellBorder.top?cellBorder.top:{};
cellBorder.bottom=cellBorder.bottom?cellBorder.bottom:{};
cellBorder.left.color="pink";
cellBorder.left.style=wijmo.xlsx.BorderStyle.MediumDashed;
cellBorder.right.color="green";
}
});
console.log(wb);
wb.save('samplewb.xlsx');
Here is a sample of the same:- https://stackblitz.com/edit/js-yb59pj?file=index.js
~Manish