Error in treegrid after using isFrozen property.

Hello,
I have faced the issue related to the treegrid when isFrozen property is used to the e-columns.
Error produced when editing after isFrozen=true is done in the treegrid table are:
1.ERROR Error: Cannot read property 'querySelectorAll' of undefined
2.ERROR Error: Cannot read property 'querySelector' of undefined

Here is stackblitz link:
https://stackblitz.com/edit/angular-wp8u1y-5yvmzr?file=app.component.html

Regards,
Wilma Hill


3 Replies 1 reply marked as answer

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team October 21, 2020 02:06 PM UTC

Hi Wilma, 
 
Thanks for contacting Syncfusion Support. 
 
Query#:- Issue while using isFrozen property on Editing. 
 
We are able to replicate the problem at our end while using isFrozen property to columns. To overcome this problem we suggest you to use FrozenColumns API which performs the same functionality of isFrozen property. 

Refer to the code below:- 
App.Component.html 
<ejs-treegrid #treegrid [dataSource]='data' height='400' childMapping='subtasks' [treeColumnIndex]='1' [frozenColumns]='2' [allowSelection]='false' [editSettings]='editSettings' [toolbar]='toolbar'> 
              <e-columns> 
                      <e-column field='taskID' headerText='Task ID' isPrimaryKey='true' width='90' textAlign='Right' 
                             [validationRules]='taskidrules'></e-column> 
                      .    .    . 
              </e-columns> 
 
</ejs-treegrid> 


For more information please refer to the documentation Link:- 

Please get back to us if you need any further assistance on it. 

Regards, 
Farveen sulthana T 




WH Wilma Hill October 22, 2020 07:35 AM UTC

Hello,
Thank you for the reply. I have lookup the above link but still facing the issue i.e when cell is click to edit and cancel then  Error: Cannot read property 'querySelectorAll' of undefined is still visible.


https://stackblitz.com/edit/angular-wp8u1y-zqpjaw?file=app.component.html

Regards,
Wilma Hill


FS Farveen Sulthana Thameeztheen Basha Syncfusion Team October 23, 2020 10:49 AM UTC

Hi Wilma, 

Query#:- Error: Cannot read property 'querySelectorAll' of undefined 

Thanks for your additional details. We are able to replicate the problem at our end. Further validating, we have confirmed this issue as bug “Script Error throws while using Frozen column with Cell Editing” and logged the defect report for the same. Thank you for the taking the time to report the issue and helping us improve our product. At Syncfusion we are committed to fixing all the validated defect (subject to technological feasibility and Product Development Life Cycle) and including its fix in our subsequent release. The fix for the issue will be included November 1st week patch release. 

You can track the current status of your request, review the resolution timeline and contact us for any further inquiries through this link.    

Note: To view the above feedback, kindly login into your account.      

Please get back to us if you need any further assistance.  

Regards, 
Farveen sulthana T 
 


Marked as answer
Loader.
Up arrow icon