TMSFNCDataGrid - rotated text - XLSExport

if you set a textangle to a row :
procedure TForm1.grdTestGetCellLayout(Sender: TObject;
ACell: TTMSFNCDataGridCell);
begin
if (ACell.Row = 0) then
begin
ACell.Layout.TextAngle := -90;
end;
end;

The rotated text is exported as non-rotated text to excel (it was the same with TMSFNCGrid)

Hi,

Can you try by using

TMSFNCDataGrid1.Layouts[0, 1].TextAngle := -90;

instead?

It works this way...
grdTest.BeginUpdate;
grdTest.RowHeights[0] := 150;
for var i := 0 to grdTest.ColumnCount-1 do
grdTest.Layouts[i, 0].TextAngle := -90;
grdTest.EndUpdate;
The rotated texts are well exported to excel.