Blazor Grid Maximum Call stack size exceeded

Good Evening,

The error : grids-9388dc.min.js:1 Uncaught RangeError: Maximum call stack size exceeded  .
Is showing when you have more than : 10 columns 
{
4 columns  Width : 80px
6 columns   Width : 140px
}


Uncaught RangeError: Maximum call stack size exceeded
    at grids-9388dc.min.js:1
    at Array.some (<anonymous>)
    at e.first (grids-9388dc.min.js:1)

There is anyway to disable the automatic scroll on the grid ?
maybe that can fixe the issue.

5 Replies

DL Dionisio Luis May 13, 2020 04:41 PM UTC

Another error that shows when i try to do the Scroll. ...

InternalError: too much recursion2 util.js:59:27
    RegExpGlobalReplaceShortOpt self-hosted:2210
    Symbol.replace self-hosted:2052
    replace self-hosted:2972
    n util.js:59
    get grids-9388dc.min.js:1
    get grids-9388dc.min.js:1


VN Vignesh Natarajan Syncfusion Team May 14, 2020 06:46 AM UTC

Hi Dionisio,  
 
Greetings from Syncfusion support.  
 
Query: “The error : grids-9388dc.min.js:1 Uncaught RangeError: Maximum call stack size exceeded  
 
From your query we understand that you are facing issue with scrolling in Grid. But as we unclear about the cause of the issue, we need following details from your regarding your issue. So kindly share the following details. 
 
  1. Share the Grid rendering code example.
  2. Are you facing issue while scrolling the Grid or during the initial rendering itself?
  3. You have mentioned about automatic scrolling of Grid. can you please share more details about it.
  4. Are you facing the issue only while having more than 10 columns?
  5. Share your Syncfusion Nuget package version
  6. If possible share the issue reproducible sample
 
Above requested details will be helpful for us to validate the reported issue at our end and provide solution as soon as possible. 
 
Regards,
Vignesh Natarajan
 



DL Dionisio Luis May 14, 2020 08:35 AM UTC

  1. Share the Grid rendering code example. 
  2. (GridRenderHTML)
  3. Are you facing issue while scrolling the Grid or during the initial rendering itself?  
  4. While Scrolling, or simple touching the end row
  5. You have mentioned about automatic scrolling of Grid. can you please share more details about it.
  6. SfGrid generate a  horizontal scroll when the  Width is passed, if  there is  a property to disable that 
  7. Are you facing the issue only while having more than 10 columns?
  8. It seems that is happening only there.
  9. Share your Syncfusion Nuget package version
  10. Include="Syncfusion.Blazor" Version="18.1.0.44"  &&  Include="Microsoft.AspNetCore.Components.WebAssembly" Version="3.2.0-preview3.20168.3"  (Just updated to : "18.1.0.52" ) still same issue .
  11. If possible share the issue reproducible sample
  12. I could try to create one, but will take me to much time, I've been already on this issue trying to figure if it was a mistake of my side for 2 days,  and as you can see I've also reported an issue on "InvokeAsyncMethod" that have stolen 3-4 days stripping Pivot and Grid to try to see why is happening, and right now i'm on a project Deadline with Syncfusion. We didnt bought yet Syncfusion, but If this project its a success (without errors ) we will buy it, but like this its hard, so in resume, for me to do that i will wast 1 more day and right now i've already "lost" more then 1 week with issues ... 

Attachment: GRID_5fe07a37.zip


DL Dionisio Luis May 14, 2020 01:35 PM UTC

Ok I think i figure  it out.

So if you have more then X Columns, and you are giving to 9 of the columns Width, if you dont set the 10 column the Width, that error will show up .
In resume:
You must set the Width to all the columns, otherwise that error will popup on the console .

Its fixed on my side .


VN Vignesh Natarajan Syncfusion Team May 15, 2020 05:30 AM UTC

Hi Dionisio,  
 
Thank you for sharing the information. Also we are glad that your issue got fixed. 
 
Please get back to us if you need any other assistance. 
 
Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon