This sample shows how to highlight invalid cells of a FlexGrid in the exported document.
For the FlexGrid's invalid cells to be highlighted in the exported document the following steps should be performed:
Note: there is no need to specify the errorCellStyle property if custom cell content mode is used.
In this sample the following code highlights invalid cells with the pale red color:
wijmo.grid.pdf.FlexGridPdfConverter.export(flexGrid, 'FlexGrid.pdf', {
styles: {
errorCellStyle: {
backgroundColor: 'rgba(255, 0, 0, 0.3)'
}
}
})