When enableVirtualization is true, I scroll to the bottom, then set FreezeColumns, table showing exception

please help, thanks

x.png


3 Replies

PS Pon Selva Jeganathan Syncfusion Team June 23, 2022 01:17 PM UTC

Hi YuFL 


Greetings from Syncfusion support. 


Query:When enableVirtualization is true, I scroll to the bottom, then set FreezeColumns, table showing exception


Based on your query, the Freeze Columns is not supported with Virtualization feature. We have already mentioned this limitation in our help documentation.  

  

Please refer to the below help documentation,  

https://ej2.syncfusion.com/angular/documentation/treegrid/virtual/#limitations-for-virtualization


If you want to freezeColumns with a larger number of records, we suggest you use the infinite scrolling feature instead of the virtualization feature.


Please refer to the below help documentation,

https://ej2.syncfusion.com/angular/documentation/treegrid/infinite-scroll/


Please refer to the below demo link,

https://ej2.syncfusion.com/angular/demos/#/bootstrap5/treegrid/infinite-scrolling

  

Kindly get back to us for further assistance.  


Regards, 

Pon selva 




YU YuFL June 24, 2022 09:40 AM UTC

sorry,i forgot to mention, i set the treegrid to enableInfiniteScrolling is true before setting the freezeColumns . That's the problem


this.treeGridObj.enableVirtualization = false;
this.treeGridObj.enableInfiniteScrolling = true;


PS Pon Selva Jeganathan Syncfusion Team June 27, 2022 01:58 PM UTC

Hi YuFL 


Thanks for the update.


Query:
 i set the treegrid to enableInfiniteScrolling is true before setting the freezeColumns . That's the problem


Based on your query, we suspect that you are facing an issue while dynamically setting the freezeColumns with virtualization or infinite scrolling feature. We checked your query by preparing sample, but we were unable to reproduce the issue at our end.


Please refer to the below sample,

https://stackblitz.com/edit/angular-q1decb-yyyd8j?file=app.component.ts

  

After following the above solution still faced issue, share us the following details.


  1. Share the detailed explanation of your issue
  2. Share the complete treegrid code example
  3. Share your product version details. 
  4. Share Screenshot of Script Error occurs on the console window.
  5. Share the video demo of the issue.
  6. Share us issue reproducible sample or reproduce the issue in the above sample


The provided information will be helpful to provide you response as early as possible. 


Regards,
Pon selva

  


Loader.
Up arrow icon