I have a grid with virtualization enabled and one frozen column.
I'm loading this grid with a few data, about 50 columns and 10000 rows, I'm calling the autoFitColumns in the grid dataBound method and this causes browser out of memory error.
If I don't call the autoFitColumns or if I set isFrozen to false in all columns, it works.
Just click on Load data button to reproduce the error.
Hi Thiago Decker Franzener,
Greetings from Syncfusion support.
Query : Autofitcolumn with frozen column causes chrome out of memory error
We have analyzed your query, we could suspect that the reported problem occurs due to large amount of data. From your update we want to convey that if you want to render 10,000 rows with 100 columns it will take some time to render the data to the Grid.
We suggest to use row enableVitruvalization property and row
enableVitruvalization property as “true” to resolve the reported problem. And
also, to need to setup the content height by
Kindly refer the code and sample for your reference.
Note : On the shared sample, you have used refresh method in the dataBound event, we have reverted the refresh method of Grid since not need to use in the dataBound event. If you want to use refresh method in the dataBound event you can use based on condition.
Please get back to us for further assistance.
If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.