Clear Search Button not working properly in SfGrid Control

Hi Team,

We are using SfGrid in our application.

we allow user to search grid data based on column value. but sometime clear search button is not working, after clicking 3-4 times its works. 

can you please provide solution for this and why this is behaving like.

below is the line of code we are using.

<SfGrid @ref="DdGrid" Toolbar="@(new List<Syncfusion.Blazor.Navigations.ItemModel>() { new Syncfusion.Blazor.Navigations.ItemModel() { Type= Syncfusion.Blazor.Navigations.ItemType.Button, Id = "Add", TooltipText = "Add Field", CssClass="e-outline" , PrefixIcon="e-icons e-add" , Template=@AdditionalOps} })" DataSource="DdGridData" AllowFiltering="true"EnableVirtualization="true" Height="360" AllowReordering="true" AllowSorting="true" AllowResizing="true">


also did 

AllowFiltering="true"


in grid column values.


Please see attached image have "x" button to clear search text an result. Which is not working in once.


3 Replies

KG Keerthana Ganesan Syncfusion Team August 10, 2022 05:45 AM UTC

Hi Yatendra Deshmukh,

Greetings from Syncfusion Support.

Query: Clear Search button not working properly.


We have checked your query and we could not able to reproduce the reported issue at our end on our version(20.2.0.43). Please upgrade to our latest version and check whether the reported issue was reproduced at your end. Also, we have attached the solution file based on your requirement. Kindly refer to the attached solution file for your reference.

If the reported issue still 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.


Attachment: ClearSearch_e530b996.zip


NR naina ramnani August 12, 2022 05:45 AM UTC

Hi Keerthana,


We have used 20.1.0.48 and we are referring to cancel/clear in the filter bar . 


 As far as code is concerned, it is same like the one provided by  you.



Can you guide us how to overcome this issue?

(clear button in filter bar is not working, after clicking 3-4 times its works. )




NP Naveen Palanivel Syncfusion Team August 15, 2022 01:19 PM UTC

Hi Naina,


We checked your query and we would like inform that we recently release volume 2 sp1 release. Your query related some fix are also released, so kindly update the syncfusion nuget package from your side.


Nuget : https://www.nuget.org/packages/Syncfusion.Blazor.Grid


Please get back to us if you need further assistance.


Regards,

Naveen Palanivel


Loader.
Up arrow icon