Date Header in Datagrid PDF Export

Good Day To All,


How can I add From Date and To Date in Datagrid PDF Export? my Source for Date is in Fig. no. 1 and my Sample PDF Report is in Fig. no. 2.. Thanks in Advance :) ..


Nelson


Attachment: Date_header_in_PDF_Export_d74f9f12.rar

50 Replies

JP Jeevakanth Palaniappan Syncfusion Team December 20, 2021 06:57 AM UTC

Hi Nelson, 

Greetings from Syncfusion support. 

We have validated your query and we would like to inform you that grid will export only the SfGrid component and it is not possible to export a separate date picker component by using the SfGrid. 

Please get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 



NT Nelson Tan December 21, 2021 01:51 AM UTC

Good Day,


Thanks for the reply.. if possible to have date header in PDF Export? if yes can you give me example?

thanks..


Nelson



JP Jeevakanth Palaniappan Syncfusion Team December 21, 2021 10:00 AM UTC

Hi Nelson, 

We suspect that you want to export the grid with date above the grid. If so, we suggest you to use the PdfExportProperties. Please find the code and sample for your reference. 

Documentation: 

Sample: 

@code{ 
    private SfGrid<Order> DefaultGrid; 
    public List<Order> Orders { get; set; } 
    public DateTime? StartValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 28); 
 
    public DateTime? EndValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 29); 
     
    public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args) 
    { 
       if (args.Item.Id == "Grid_pdfexport")  //Id is combination of Grid's ID and itemname       
       { 
            string val = StartValue.ToString() + " - " + EndValue.ToString(); 
           List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent> 
        { 
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = val  , Position = new PdfPosition() { X = 0, Y = 50 }, Style = new PdfContentStyle() { TextBrushColor = "#000000", FontSize = 13 } } 
    }; 
            PdfExportProperties ExportProperties = new PdfExportProperties(); 
            PdfHeader Header = new PdfHeader() 
            { 
                FromTop = 0, 
                Height = 130, 
                Contents = HeaderContent 
            }; 
 
            ExportProperties.Header = Header; 
            await this.DefaultGrid.PdfExport(ExportProperties); 
        } 
    } 


Get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 



NT Nelson Tan December 23, 2021 08:18 AM UTC

Good Day Sir Jeevakanth SP and Syncfusion Team,


Thanks a lot for the reply.. :)


Take Care and God Bless..


Nelson



NT Nelson Tan December 24, 2021 02:46 AM UTC

Good Day Sir Jeevakanth SP and Syncfusion Team,


If is impossible to create pdf export formats like in file I uploaded?

Thanks in Advance.. :)


Nelson



Attachment: Reports_Format_12.24.2021_433296d6.rar


JP Jeevakanth Palaniappan Syncfusion Team December 27, 2021 09:50 AM UTC

Hi Nelson, 

Based on your scenario we suggest you to customize the Pdf Header by using the Header property in PdfExportProperties. Please refer the below code snippet and the sample for your reference. 


@using Syncfusion.Blazor.Grids 
@using Syncfusion.Blazor.Calendars 
 
<SfDateRangePicker TValue="DateTime?" StartDate="@StartValue" EndDate="@EndValue"></SfDateRangePicker> 
 
<SfGrid ID="Grid" @ref="DefaultGrid" DataSource="@Orders" Toolbar="@(new List<string>() { "PdfExport" })" AllowPdfExport="true" AllowPaging="true"> 
    <GridEvents OnToolbarClick="ToolbarClickHandler" TValue="Order"></GridEvents> 
    <GridColumns> 
        <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn> 
        <GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn> 
        <GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn> 
        <GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn> 
    </GridColumns> 
</SfGrid> 
 
@code{ 
    private SfGrid<Order> DefaultGrid; 
    public List<Order> Orders { get; set; } 
    public DateTime? StartValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 28); 
 
    public DateTime? EndValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 29); 
     
    public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args) 
    { 
       if (args.Item.Id == "Grid_pdfexport"//Id is combination of Grid's ID and itemname       
       { 
            string val = "PO Report from " + StartValue.ToString() + " to " + EndValue.ToString() + "Vendor All"; 
           List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent> 
        { 
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = val  , Position = new PdfPosition() { X = 0, Y = 50 }, Style = new PdfContentStyle() { TextBrushColor = "#000000", FontSize = 13 } }, 
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Payee Name: Name", Position = new PdfPosition() { X = 0, Y = 100 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } }, 
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Category: Category", Position = new PdfPosition() { X = 0, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } }, 
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Reference: Reference", Position = new PdfPosition() { X = 500, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } } 
    }; 
            PdfExportProperties ExportProperties = new PdfExportProperties(); 
            PdfHeader Header = new PdfHeader() 
            { 
                FromTop = 0, 
                Height = 150, 
                Contents = HeaderContent 
            }; 
 
            ExportProperties.Header = Header; 
            await this.DefaultGrid.PdfExport(ExportProperties); 
        } 
    } 
    protected override void OnInitialized() 
    { 
        Orders = Enumerable.Range(1, 75).Select(x => new Order() 
        { 
            OrderID = 1000 + x, 
            CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)], 
            Freight = 2.1 * x, 
            OrderDate = DateTime.Now.AddDays(-x), 
        }).ToList(); 
    } 
 
    public class Order 
    { 
        public int? OrderID { get; set; } 
        public string CustomerID { get; set; } 
        public DateTime? OrderDate { get; set; } 
        public double? Freight { get; set; } 
    } 
} 

Get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 



NT Nelson Tan December 28, 2021 02:35 AM UTC

Good Day Sir Jeevakanth SP and Syncfusion Team,


Thanks Sir for your answer.. my another question how can i add "new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Payee Name: Name" for example and the Payee Name instead of Payee Name: Name I add  Field=@nameof(Order.OrderID) like Payee Name:  @nameof(Order.OrderID).. thanks in advance.


Nelson



JP Jeevakanth Palaniappan Syncfusion Team December 28, 2021 06:02 AM UTC

Hi Nelson, 

We suggest you to use the below highlighted code to achieve your scenario. Please find the code snippet and the sample for your reference. 


@using Syncfusion.Blazor.Grids  
@using Syncfusion.Blazor.Calendars  
  
<SfDateRangePicker TValue="DateTime?" StartDate="@StartValue" EndDate="@EndValue"></SfDateRangePicker>  
  
<SfGrid ID="Grid" @ref="DefaultGrid" DataSource="@Orders" Toolbar="@(new List<string>() { "PdfExport" })" AllowPdfExport="true" AllowPaging="true">  
    <GridEvents OnToolbarClick="ToolbarClickHandler" TValue="Order"></GridEvents>  
    <GridColumns>  
        <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>  
        <GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>  
        <GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>  
        <GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>  
    </GridColumns>  
</SfGrid>  
  
@code{  
    private SfGrid<Order> DefaultGrid;  
    public List<Order> Orders { get; set; }  
    public DateTime? StartValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 28);  
  
    public DateTime? EndValue { get; set; } = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 29);  
      
    public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)  
    {  
       if (args.Item.Id == "Grid_pdfexport")  //Id is combination of Grid's ID and itemname        
       {  
            string val = "PO Report from " + StartValue.ToString() + " to " + EndValue.ToString() + "Vendor All";  
           List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent>  
        {  
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = val  , Position = new PdfPosition() { X = 0, Y = 50 }, Style = new PdfContentStyle() { TextBrushColor = "#000000", FontSize = 13 } },  
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Payee Name: "+nameof(Order.OrderID), Position = new PdfPosition() { X = 0, Y = 100 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } },  
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Category: Category", Position = new PdfPosition() { X = 0, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } },  
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = "Reference: Reference", Position = new PdfPosition() { X = 500, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } }  
    };  
            PdfExportProperties ExportProperties = new PdfExportProperties();  
            PdfHeader Header = new PdfHeader()  
            {  
                FromTop = 0,  
                Height = 150,  
                Contents = HeaderContent  
            };  
  
            ExportProperties.Header = Header;  
            await this.DefaultGrid.PdfExport(ExportProperties);  
        }  
    }  
    protected override void OnInitialized()  
    {  
        Orders = Enumerable.Range(1, 75).Select(x => new Order()  
        {  
            OrderID = 1000 + x,  
            CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],  
            Freight = 2.1 * x,  
            OrderDate = DateTime.Now.AddDays(-x),  
        }).ToList();  
    }  
  
    public class Order  
    {  
        public int? OrderID { get; set; }  
        public string CustomerID { get; set; }  
        public DateTime? OrderDate { get; set; }  
        public double? Freight { get; set; }  
    }  
} 

Regards, 
Jeevakanth SP. 



NT Nelson Tan replied to Jeevakanth Palaniappan December 28, 2021 06:38 AM UTC

Hello Sir Jeevakanth SP.,

Thanks for the reply.. My question is how can I export in PDF with Headers like Ex No, Ex Date from, Ex Date to, Select Employee and Enter Remarks.. Please see Pic no. 1.. Another Question is how can I Export in PDF with details(Sub-grid) in Pic no. 2.. Thanks..


Nelson


1.

image_4.png



2.




JP Jeevakanth Palaniappan Syncfusion Team December 29, 2021 06:50 AM UTC

Hi Nelson, 
 
Query 1: how can I export in PDF with Headers like Ex No, Ex Date from, Ex Date to, Select Employee and Enter Remarks 
 
As informed in our previous update, it is not possible to export pdf with an input/datepicker elements in the header. 
 
You can only export the pdf with some text in the header as like the solution provided in the below update 
 
Pdf Demo link: 
 
Query 2: how can I Export in PDF with details(Sub-grid) 
 
We would like to inform you that currently we do not have support for Hierarchy Grid (using DetailTemplate) exporting. Since it is a known request, we have already considered the requested query as an feature and added this feature request to our database. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.  
  
You can now track the current status of this feature request here.  
  
  
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. Feature will be included in any of our upcoming release. We will let you know when this feature is implemented, you can also track the status of feature in above feedback link.  
 
Till then we appreciate your patience.  
 
Regards, 
Jeevakanth SP. 



NT Nelson Tan December 29, 2021 07:25 AM UTC

Good Day Sir Jeevakanth SP,


Thanks for the reply.. if is possible to add PDF Export Header with value like in picture below?

Thanks and God Bless..


Nelson

 



JP Jeevakanth Palaniappan Syncfusion Team December 30, 2021 07:52 AM UTC

Hi Nelson, 

As informed in our previous updates, you can add any text in the PDF header by using the Header Property of PdfExportProperties. We have already suggested this solutions in the previous discussions. Please find the link below. 

We suspect that you are facing difficulty in accessing the text box value. If so we suggest you to set the textbox value in a global variable and then use that variable to set PDF header. 

Please find the code snippet and sample to render the textbox value in the PDF Header: 

 

<SfTextBox @bind-Value=@TextBoxValue></SfTextBox> 
   
<SfGrid> 
.. 
</SfGrid>   
   
@code{ 
    string TextBoxValue { get; set; } = "TextBoxText"; 
    public async Task ToolbarClickHandler(Syncfusion.Blazor.Navigations.ClickEventArgs args)   
    {   
       if (args.Item.Id == "Grid_pdfexport"//Id is combination of Grid's ID and itemname         
       {   
            string val = "PO Report from " + StartValue.ToString() + " to " + EndValue.ToString() + "Vendor All" 
           List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent 
        {   
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = val  , Position = new PdfPosition() { X = 0, Y = 50 }, Style = new PdfContentStyle() { TextBrushColor = "#000000", FontSize = 13 } },   
        new PdfHeaderFooterContent() { Type = ContentType.Text, Value = TextBoxValue, Position = new PdfPosition() { X = 0, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } }   
    };   
            PdfExportProperties ExportProperties = new PdfExportProperties();   
            PdfHeader Header = new PdfHeader()   
            {   
                FromTop = 0,   
                Height = 150,   
                Contents = HeaderContent   
            };   
   
            ExportProperties.Header = Header;   
            await this.DefaultGrid.PdfExport(ExportProperties);   
        }   
    }  } 

Incase if we misunderstood your requirement then kindly share us the below details 
 
  1. Share us the difficulties you have faced in implementing the suggested solution.
  2. Share us your exact requirement.
  3. Share us more information on your query.
 
The above requested details will be helpful for us to validate your query and to provide you with a solution as early as possible. 
 
Regards, 
Jeevakanth SP. 



NT Nelson Tan January 10, 2022 02:05 PM UTC

Good Day Sir Jeevakanth SP.   and Syncfusion Team,


Thanks for the reply.. :)


My Question is how can I add Header in Pivot Table PDF Export..

Thanks and God Bless.. :)


Nelson





MM Manikandan Murugesan Syncfusion Team January 11, 2022 09:58 AM UTC

Hi Nelson, 
 
Using the "BeforeExport" event, you can add a header to the PDF export. Please refer to the code example below. 
 
Code Example: 
    public void beforeExport(BeforeExportEventArgs args) 
    { 
        string val = "PO Report from " + StartValue.ToString() + " to " + EndValue.ToString() + "Vendor All"; 
        List<PdfHeaderFooterContent> HeaderContent = new List<PdfHeaderFooterContent> 
        { 
                new PdfHeaderFooterContent() { Type = ContentType.Text, Value = val  , Position = new PdfPosition() { X = 0, Y = 50 }, Style = new PdfContentStyle() { TextBrushColor = "#000000", FontSize = 13 } }, 
                new PdfHeaderFooterContent() { Type = ContentType.Text, Value = TextBoxValue, Position = new PdfPosition() { X = 0, Y = 120 }, Style = new PdfContentStyle() { TextBrushColor = "#8B0000", FontSize = 13 } } 
            }; 
        PdfExportProperties ExportProperties = new PdfExportProperties(); 
        PdfHeader Header = new PdfHeader() 
        { 
            FromTop = 0, 
            Height = 150, 
            Contents = HeaderContent 
        }; 
 
        ExportProperties.Header = Header; 
        args.PdfExportProperties = ExportProperties; 
    } 
 
Meanwhile, we have prepared a sample for your reference. Please find it from below link. 
 
 
Please refer to the document link below for more information on the "BeforeExport" event. 
 
Please let us know if you have any concerns. 
 
Regards, 
Manikandan 



NT Nelson Tan January 11, 2022 11:15 AM UTC

Good Day Sir Manikandan Murugesan and Syncfusion Team,


Thanks for the reply.. :)


Take Care and God Bless..


Nelson



NT Nelson Tan January 12, 2022 02:05 AM UTC

Good Day Sir Manikandan Murugesan and Syncfusion Team,


I'll try the codes you send to me but still no header appear in my Pivot PDF export..

Please check my save source code to check the problem..


Thanks and God Bless..


Nelson



Attachment: For_Pivot_PDF_Export_12ef8836.rar


MM Manikandan Murugesan Syncfusion Team January 12, 2022 11:13 AM UTC

Hi Nelson, 

Using your shared pivot table configurations, the pivot table exported properly with a header. Please find the screenshot and sample below for reference. 

Screenshot: 
 
 

If the problem persists, please reproduce it in the provided sample and revert to us (or) send your sample that replicates the problem. This would allow us to investigate the reported problem at our end and provide a solution as soon as possible. 
 
Regards, 
Manikandan 



NT Nelson Tan January 12, 2022 01:00 PM UTC

Gud Day Sir Manikandan Murugesan,


Thanks for reply.. this is the sample of PDF export.. Same files..


Thanks


Nelson





MM Manikandan Murugesan Syncfusion Team January 13, 2022 08:57 AM UTC

Hi Nelson, 
 
Please share us your runnable sample that replicates the problem (or) reproduce it in the provided sample and get back to us? This would allow us to investigate the reported problem at our end and provide a solution as soon as possible. 
 
Regards, 
Manikandan 



NT Nelson Tan January 24, 2022 08:54 AM UTC

Good Day Syncfusion Team,


How can i Add Date Parameter like this in fig 1 using MySQL Store Procedure like in Fig 2:

Fig 1:


Fig. 2:


Thanks..


Nelson

 



SP Sastha Prathap Selvamoorthy Syncfusion Team January 26, 2022 11:29 AM UTC

Hi Nelson,  

We suspect that you are facing complexities while binding the data from database to the Grid. We suggest you to refer the below documentations for more details on this topic,  


Please refer the above documentations and get back to us if you need further assistance.  

Regards,  
Rahul  



NT Nelson Tan January 29, 2022 10:30 AM UTC

Good Day Rahul,



Can you give me sample program using Mysql connection..



Thanks


Nelson



RN Rahul Narayanasamy Syncfusion Team January 31, 2022 02:37 PM UTC

Hi Nelson, 

Thanks for the update. 

Query: Can you give me sample program using Mysql connection.. 

Based on your request, we have shared the sample(get the data from database using MySql connection and bind it to the Grid). Find the below sample for your reference. 


(Or)  

You can get the sample from the previously shared links itself(the GitHub sample link is mentioned in the end of the topic , topic2). 

Please let us know if you have any concerns. 

Regards, 
Rahul 



NT Nelson Tan February 4, 2022 02:45 AM UTC

Good Day Syncfusion Team,


How can i export in PDF format in Group datagrid?, PDF export not working..


Thanks..


Nelson





RN Rahul Narayanasamy Syncfusion Team February 4, 2022 01:41 PM UTC

Hi Nelson, 

Thanks for the update. 

Query: How can i export in PDF format in Group datagrid?, PDF export not working.. 

We suspect that you are facing difficulties while exporting PDF in grouped Grid. We could not able to reproduce the reported problem at our end. We can able to export the PDF with grouped Grid. Find the below sample for your reference. 


If you are still facing the problem, then could you please share the below details which will be helpful to validate and provide a better solution. 

  • Reproduce the problem in the provided sample and revert back to us.
  • Share a simple reproduceable sample if possible.
  • Full Grid code snippets with video demonstration of the problem.
  • Did you faced any error?

Regards, 
Rahul 



NT Nelson Tan February 5, 2022 11:34 AM UTC

Good day to all,


Thanks for the reply..


Nelson



NT Nelson Tan February 5, 2022 04:13 PM UTC

Good Day to all,


How to appear running balance in PDF Export?

Thanks

Nelson





  



RN Rahul Narayanasamy Syncfusion Team February 7, 2022 02:07 PM UTC

Hi Nelson, 

Thanks for the update. 

From your shared details, we suspect that you would like to export the visible Template column to a pdf file. If so, then we suggest you to enable the IncludeTemplateColumn property of PdfExportProperties. And handle the customization of corresponding Template column cell value in PdfQueryCellInfoEvent event handler. Please refer the below code snippets for your reference. 

 
<SfGrid ID="Grid" @ref="DefaultGrid" DataSource="@Orders" AllowPaging="true" AllowGrouping="true" Toolbar="@(new List<string>() { "PdfExport" })" AllowPdfExport="true"> 
    <GridGroupSettings Columns="@Initial"></GridGroupSettings> 
    <GridEvents PdfQueryCellInfoEvent="PdfQueryCellInfoHandler" OnToolbarClick="ToolbarClickHandler" TValue="Order"></GridEvents> 
    <GridColumns> 
        <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Center" Width="120"></GridColumn> 
        <GridColumn HeaderText="Customer Name" TextAlign="TextAlign.Center" Width="120"> 
            <Template> 
                @{ 
                    var value = (context as Order); 
                    <div>@value.CustomerID</div> 
                } 
            </Template> 
        </GridColumn> 
        . . . 
    </GridColumns> 
</SfGrid> 
 
@code{ 
    private SfGrid<Order> DefaultGrid; 
    public List<Order> Orders { get; set; } 
    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(); 
            ExportProperties.IncludeTemplateColumn = true; 
            await this.DefaultGrid.PdfExport(ExportProperties); 
        } 
    } 
    public void PdfQueryCellInfoHandler(PdfQueryCellInfoEventArgs<Order> args) 
    { 
        if (args.Column.HeaderText == "Customer Name") 
        { 
            //Do the content customization of template column value here 
            args.Cell.Value = args.Data.CustomerID; 
        } 
 
    } 
    . . . 
} 

Reference


Please let us know if you have any concerns. 

Regards, 
Rahul 



NT Nelson Tan February 8, 2022 05:16 AM UTC

Good Day to All,


Error appears in CalculateTotal.. please reply for the solution..


Thanks..

Nelson



 



RN Rahul Narayanasamy Syncfusion Team February 9, 2022 03:01 PM UTC

Hi Nelson, 

Thanks for the update. 

We have checked your shared error details and we suspect that you have tried to access the property(Result  -> args.Data.Result) which is not defined in your model class. So the reported problem occurs. So could you please define the property(Result) in your model class and ensure the reported problem at your end? 

public class Order 
    { 
        public int? OrderID { get; set; } 
        public string CustomerID { get; set; } 
        public DateTime? OrderDate { get; set; } 
        public int? ManfCost { get; set; } 
        public int? LabCost { get; set; } 
        public int? Result { get; set; } 
    } 

Please let us know if you have any concerns. 

Regards, 
Rahul 



NT Nelson Tan April 16, 2022 07:39 AM UTC

Good Day Syncfusion Team,


What is the solution for this error? i have 3 RDLC reports.. The 2 Reports are working but this 1 report have error..

Please help me..


Thanks


Nelson





RN Rahul Narayanasamy Syncfusion Team April 19, 2022 04:53 AM UTC

Hi Nelson,


Thanks for the update.


We are quite unclear about the problem currently you are facing. Could you please share the below details which will be helpful to validate and provide a better solution?


  • Are you facing this issue in DataGrid or in any other Syncfusion components?
  • Whether did you face problems while performing an export operation in the Grid?
  • Whether did you face the problem with the Pdf report viewer?
  • Share a simple reproducible sample if possible.
  • More details about your case.
  • Video demonstration of the problem.


Regards,

Rahul



NT Nelson Tan August 26, 2022 08:04 AM UTC

Good Day Syncfusion Team,


My question is it possible to convert blazor server side to PWA?


Thanks in Advance..


Nelson



NP Naveen Palanivel Syncfusion Team August 29, 2022 12:57 PM UTC

Hi Nelson,


We checked your query and we sorry to say that it is not possible to convert  blazor server side to PWA. Refer the below general link to know more details.


https://stackoverflow.com/questions/69269347/blazor-server-pwa


Please get back to us if you have further queries.


Regards,

Naveen Palanivel



NT Nelson Tan August 29, 2022 02:33 PM UTC

Good Day Naveen Palanivel ,


Thanks for the reply..


My Next question is for EditMode.Dialog, why SfTextBox for ItemCode is not changing  when i select Item in

SfDropDownList? Im using ValueChange.. In

EditMode.Batch is working but not in EditMode.Dialog..



thanks in advance..


Nelson  



KG Keerthana Ganesan Syncfusion Team August 30, 2022 03:52 PM UTC

Hi Nelson,

 

Sorry for the inconvenience.

 

We are currently Validating the reported query at our end and we will update the further details within two days(Sept2, 2022). Until then we appreciate your patience.

 

Regards,

Keerthana



NT Nelson Tan August 31, 2022 02:13 AM UTC

Hello Keerthana ,


Ok thanks.. willing to wait.. :)


Nelson



NP Naveen Palanivel Syncfusion Team September 2, 2022 03:33 AM UTC

Hi Nelson,

 

Sorry for the inconvenience.

 

We are currently Validating the reported query at our end and we will update the further details within one days(Sept2, 2022). Until then we appreciate your patience.

 

Regards,

Naveen Palanivel



NT Nelson Tan September 2, 2022 06:08 AM UTC

Good Day Naveen Palanivel ,


Noted.. Thanks.. :)


Nelson



KG Keerthana Ganesan Syncfusion Team September 5, 2022 03:37 AM UTC

Hi Nelson,

Welcome from Syncfusion support.

Query: ItemCode is not changing when I select Item in SfDropDownList
We have checked your query and we could not able to reproduce the reported issue at our end on our version(20.2.0.46). Please upgrade to our latest version and check whether the reported issue is reproduced at your end.
If the reported issue persists or if we misunderstood your query, then kindly share the below details to validate further at our end.

  1. Share with us the entire Grid code snippet.
  2. Share with us the Nuget version used at your end.
  3. If possible, share with us the simple issue reproducible sample.

The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.

Regards,

Keerthana.



NT Nelson Tan September 12, 2022 03:06 PM UTC

Good Day Syncfusion Team,


How can I Add custom button for ADD and EDIT in Adaptive UI Layout in Blazor DataGrid Component (Vertical Mode).

My Codes:




Thanks and God Bless,


Nelson



NP Naveen Palanivel Syncfusion Team September 13, 2022 11:10 PM UTC

Hi Nelson


Greetings from Syncfusion support.


We checked your query and  you want to  Add custom button for ADD and EDIT in Adaptive UI Layout in Vertical Mode. we prepared sample as per the requirement and attached in this ticket .

Please refer the attached sample for your reference .


Please get back to us if you need further assistance



Regards,

Naveen Palanivel


Attachment: Grid_(2)_95598633.zip


NT Nelson Tan September 14, 2022 04:05 AM UTC

Hi Naveen Palanivel,


Thanks for quick reply.. still not appear Add and Edit button in grid.. my Syncfusion Blazor version is 19.3.0.44.. can't update the version because it possible to have bugs in my program..



Thanks and God Bless


Nelson 



NP Naveen Palanivel Syncfusion Team September 19, 2022 04:54 AM UTC


Hi Neslon,


Currently we are checking the reported query at our end. We will update further details on or before 21 September 2022.


Until then we appreciate your patience.


Regards,

Naveen Palanivel



NP Naveen Palanivel Syncfusion Team September 21, 2022 04:02 AM UTC

Hi Nelson,


We checked your query and we would like to inform that custom button for ADD and EDIT in Adaptive UI Layout in Vertical Mode is work well in latest version . we also shared sample in pervious response. We see your query you are using old version(19.3.0.44)After that we given many main release so please kindly update the package to the latest version.


If, you still facing that issue please get back to us



Regards,

Naveen Palanivel



NT Nelson Tan September 27, 2022 08:34 AM UTC

Hello Naveen Palanivel ,

       Thanks for reply.. my another question is how to fix number with negative sign to be place to left and

SfNumericTextBox label to be place in right like in SfComboBox?

My Next question is why Delete button not working in grid detail?

my code for delete:


Thanks in Advance  




NP Naveen Palanivel Syncfusion Team September 29, 2022 01:56 AM UTC

Hi Nelson,


Query1:” Delete button not working in grid detail”


We checked your query and we would like to inform that please ensure Isprimary is set to the any one of the column. While preforming the CURD operation, to enabled IsPrimarykey column to an unique column and that column will not able to edit. We also  see in action begin event you are using customized method inside the request type. We also given UG documentation link below for more information


Reference : https://blazor.syncfusion.com/documentation/datagrid/editing#event-trace-while-editing

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_DeleteRecordAsync


If the reported issue is still persist then kindly share the below details to validate further at our end.


  1. Share us the entire Grid code snippet along with Code section
  2. Share us the video demonstration explaining  the issue.
  3. If possible share us an simple issue reproduceable sample.


The above-requested details will be helpful for us to validate the reported query at our end and provide the solution as early as possible.


Qyery 2 : “SfNumericTextBox label to be place in right like in SfComboBox


Currently we are validating your query at our end and we will update further details within two business days on or before 30th September 2022.


Please let us know if you have any concerns.


Regards,

Naveen Palanivel



NT Nelson Tan September 29, 2022 02:34 AM UTC

Hi Naveen Palanivel,


Thanks for the reply.. My next question is please can you fix to move negative sign to the left ? please check my screenshot:


Thanks


Nelson



NP Naveen Palanivel Syncfusion Team October 3, 2022 01:44 AM UTC

Hi Nelson,

 

Sorry for the inconvenience.

 

We are currently Validating the reported query at our end and we will update the further details within one days(Oct 4, 2022). Until then we appreciate your patience.

 

Regards,

Naveen Palanivel



NP Naveen Palanivel Syncfusion Team October 6, 2022 03:46 AM UTC

Hi Nelson,


We have checked your query and before proceeding further with your requirement kindly share the below details to validate further at our end.


  1. Share us the entire Grid code snippet along with model class.
  2. Share us whether which component is using inside the grid and how it is rendered for make issue reproduceable sample for our side to validate.
  3. Share us the video demonstration of the issue.
  4. If possible kindly share us the issue reproduceable sample

The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.



Regards,

Naveen Palanivel


Loader.
Up arrow icon