Grid Filter broken after update

Hello, I had a grid filter, that would display small values, but now I am getting this error.

Is there any fix for this?

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]      Unhandled exception rendering component: Value was either too large or too small for a Decimal.System.OverflowException: Value was either too large or too small for a Decimal.   at System.Number.ThrowOverflowException(TypeCode type)   at System.Decimal.DecCalc.VarDecFromR8(Double input, DecCalc& result)   at System.Decimal..ctor(Double value)   at System.Decimal.op_Explicit(Double value)   at System.Convert.ToDecimal(Double value)   at System.Double.System.IConvertible.ToDecimal(IFormatProvider provider)   at System.Convert.ToDecimal(Object value, IFormatProvider provider)   at Syncfusion.Blazor.Grids.Internal.FilterCheckBoxRenderer`1[

8 Replies 1 reply marked as answer

NP Naveen Palanivel Syncfusion Team July 18, 2022 04:57 PM UTC

Hi Pavel,


Greetings from the Syncfusion support.


Query : “Grid Filter broken after update


We have checked your query and we are quite unclear about the exact issue you are facing. So kindly share the below details to validate further at our end.


  1. Share us entire grid code snippet.
  2. Share us some more details regarding your exact requirement about filter.
  3. Share us the video demonstration explaining  the issue.
  4. 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.


Regards,

Naveen Palanivel



PA Pavel July 21, 2022 04:03 PM UTC

For example if a value is public double MyDouble = double.MinValue();

public const double MinValue = -1.7976931348623157E+308;


using a min value will throw an error because its too large.

I have fixed it by doing a check for min value and changing it to -1




NP Naveen Palanivel Syncfusion Team July 22, 2022 07:01 PM UTC

Hi Pavel,  


Sorry for the Inconvenience.


We are currently checking the reported case at our end and we will update the further details in two business day as promised (July 26, 2022). Until then we appreciate your patience. 

Regards,

Naveen Palanivel



NP Naveen Palanivel Syncfusion Team July 27, 2022 06:02 PM UTC

Hi Pavel,  


Sorry for the Inconvenience.


We are currently checking the reported case at our end and we will update the further details in two business day as promised (July 29, 2022). Until then we appreciate your patience. 

Regards,

Naveen Palanivel



PA Pavel July 27, 2022 06:48 PM UTC

Sure just try creating a data source with values such as 

public const double MinValue = -1.7976931348623157E+308;

Then enable excel filter on grid and try to open filter.

Application crashes Unhandled exception rendering component: Value was either too large or too small for a Decimal.System.OverflowException



NP Naveen Palanivel Syncfusion Team July 28, 2022 05:16 PM UTC

Hi Pavel,


Sorry for the Inconvenience.


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


Regards,

Naveen Palanivel



NP Naveen Palanivel Syncfusion Team August 1, 2022 03:57 AM UTC

Hi Pavel,


We have confirmed this as an issue and logged the defect report Grid Filter broken when double has MinValuefor the same. Thank you for taking time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming patch release which is expected to be rolled out on or before 31th  Aug , 2022.

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.       


https://www.syncfusion.com/feedback/36713/grid-filter-broken-when-double-has-minvalue


Until then we appreciate your patience.



Regards,

Naveen Palanivel



NP Naveen Palanivel Syncfusion Team September 8, 2022 04:48 AM UTC

Hi Pavel,


Thanks for the patience.


We are glad to announce that, we have included fix for the issue “Grid Filter broken when double has MinValue” in our release(20.2.0.48).  So please upgrade to our latest version of Syncfusion NuGet package to resolve the reported issue. Please find the Nuget package for latest fixes and features from below.


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


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you need any further assistance. 

   

Regards,            

Naveen Palanivel


Marked as answer
Loader.
Up arrow icon