BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
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:
https://stackblitz.com/edit/angular-joxzbn-wkdr9w?file=app.component.ts
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)
I would be greatful for any advice.
Thanks in advance
Hi Rol Jan,
We are validating the details from our end. Team will be updating the details shortly. Thanks
Hello,
Thank you for replying, please let me know when you will find anything,
Best regards,
RolJan,
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
RolJan,
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.