TMSFNCDataGridPDFIO do not show selected Row

In my FNCDataGrid i show the selected row in Yellow.
When i show my Grid with the TMSFNCDataGridPDFIO, then the Selected Row ist also shown in yello.
In the PDF-List there should the selected Rows not shown.
What can i do to not show the selected color in the pdf-file.

There are 2 options:

Option 1: change the layout when exporting

procedure TForm1.TMSFNCDataGrid1GetCellLayout(Sender: TObject;
  ACell: TTMSFNCDataGridCell);
begin
  if ACell.IsExporting and TMSFNCDataGrid1.IsCellSelected(ACell.Coordinate) then
    ACell.Layout.Assign(TMSFNCDataGrid1.CellAppearance.NormalLayout);
end;

Option 2: hide the background

procedure TForm1.TMSFNCDataGrid1BeforeDrawCell(Sender: TObject;
  AGraphics: TTMSFNCGraphics; ACell: TTMSFNCDataGridCell;
  var ACanDraw: Boolean);
begin
  if ACell.IsExporting then
    ACell.DrawElements := ACell.DrawElements - [gcdFill];
end;

I used the option2 and this works for TMSFNCDataGridPDFIO.
But for TMSFNCDataGridExcelIO it do not work.

Option1 is working for both scenarios.
Thanks for your Help.

Hi, thanks for the feedback, indeed Option 2 uses custom drawing and Excel is not capable of custom drawing