When I export a grid to pdf, it does not put the € symbol. I'm using Syncfusion.Blazor.Grid (19.3.0.57)
Grid
Pdf Document
Thank you very much
When there are aggregates the € symbol does not appear, in the cells it does.
|
public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)
{
if (args.Item.Id == "Grid_pdfexport") //Id is combination of Grid's ID and itemname
{
PdfExportProperties ExportProperties = new PdfExportProperties();
PdfTheme Theme = new PdfTheme();
PdfThemeStyle ThemeStyle = new PdfThemeStyle()
{
Font = new PdfGridFont { IsTrueType = true, FontSize = 8, FontFamily = "AAE...A" }, //apply your custom font base64 string to FontFamily
};
//to apply style to Grid header
Theme.Header = ThemeStyle;
//to apply style to Grid content
Theme.Record = ThemeStyle;
//to apply style to Grid aggregates
Theme.Caption = ThemeStyle;
ExportProperties.Theme = Theme;
await this.DefaultGrid.PdfExport(ExportProperties);
}
} |
Perfect, thank you very much!