We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Dynamic Freeze Column does not work after batch update is first executed

Dear Syncfusion Team,

I've implemented dynamic Freeze Column logic to Grid Component, but it fails when Batch Edit is enabled and executed before freeze.

On init state - when I try to double click cell (does not matter if I change the content, or leave it without change) - Freeze column functionality fails with following error, when executing grid.freezeRefresh()

Cannot read properties of null (reading 'querySelector')
    at o.getFrozenLeftContentTbody

When the table is frozen first - it is possible to edit both table (frozen-left and frozen-right), but after the unfreeze it is possible to edit only previously frozen part (right one triggers another error).

I've fixed above problem with updating all columns['freezeTable'] to undefined, when unfreeze is performed.

column['freezeTable'] = undefined

So I am still facing the first problem, which it's extremely simple to reproduce:

I've tested this bug in 19 and newest version of syncfusion, Please let me know if that bug is known
, or should I implement it in different way (I can not change batch edit, as it's heavily implemented in system) 

5 Replies

RO RolJan January 17, 2023 05:47 PM UTC

I would be greatful for any advice.

Thanks in advance

SG Suganya Gopinath Syncfusion Team January 18, 2023 09:11 AM UTC

Hi Rol Jan,

We are validating the details from our end. Team will be updating the details shortly. Thanks

RO RolJan January 19, 2023 11:32 AM UTC


Thank you for replying, please let me know when you will find anything,

Best regards,

RR Rajapandi Ravi Syncfusion Team January 23, 2023 12:56 PM UTC


We have confirmed and logged this as a bug in the component. So, we have considered ”Dynamic Freeze Column throws script error in batch edit” as a defect and logged a report for the same. We will update you the details once the fix is included in the upcoming patch release.

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.

Feedback link : https://www.syncfusion.com/feedback/40577/dynamic-freeze-column-throws-script-error-in-batch-edit

RR Rajapandi Ravi Syncfusion Team February 17, 2023 01:02 PM UTC


We are glad to announce that our Essential Javascript2 patch release (v20.4.50) has been rolled out successfully and in that release, we have added the fix for the issue - Dynamic Freeze Column throws script error in batch edit”. So please update your packages to this version to include this fix.

Feedback link : https://www.syncfusion.com/feedback/40577/dynamic-freeze-column-throws-script-error-in-batch-edit

Release Notes: https://ej2.syncfusion.com/documentation/release-notes/20.4.50/?type=all#grid

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

Live Chat Icon For mobile
Up arrow icon