Printing when excel date filter is active results in NullReferenceException

I have an sfDatagrid with a toolbar and excel filter style. When i press the print button on the toolbar without a filter active, or with i.e. a boolean filter active, i can print.
When however, i have a date filter active, i get a NullReferenceException:

[Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer] Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.Blazor.Grids.Internal.FilterBarRenderer`1.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()

1 Reply

RN Rahul Narayanasamy Syncfusion Team October 1, 2020 07:15 AM UTC

Hi Patrick, 

Greetings from Syncfusion. 

We have validated the query and we are able to reproduce the reported problem at our end. We have confirmed it is a bug and logged the defect report for the same “Exception throws when performing print operation after filtering date column”. Thank you for taking the time to report this issue and helping us improve our product. Fix for the issue will be included in our bi-weekly release which is expected to be rolled out on or before end of October 2020.         
   
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.       
   
 
Till then we appreciate your patience.  

Regards, 
Rahul 


Loader.
Up arrow icon