dynamic add columns and freeze in react function component

hello 

i try to dynamic add columns in react function component

it's work well,but it's broken after i inject freeze 

Can you give me the sample?

thank you



1 Reply 1 reply marked as answer

PG Praveenkumar Gajendiran Syncfusion Team January 22, 2021 01:05 PM UTC

Hi GinoK,

Thanks for contacting Syncfusion support.

Based on your query we have prepared a Grid sample with frozen column and added new columns dynamically in a button click function, but we were unable to reproduce the reported problem/scenario at our end as the Grid with frozen column feature was working properly. You can check the below sample for your reference,

Sample: https://stackblitz.com/edit/react-ubkh39?file=index.js

API link: https://ej2.syncfusion.com/react/documentation/api/grid/#frozencolumns
                https://ej2.syncfusion.com/react/documentation/api/grid/#columns

So please share us the below information that will be helpful to validate further on this,  
1)                 Elaborate/share more details on your reported problem. 
2)                 Let us know the replication procedure for reproducing the problem. 
3)                 Video demonstration to understand it better. 
4)                 Share complete grid rendering code. 
5)                 Syncfusion package version used. 
6)                 If possible share us a simple sample to replicate the problem or try reproducing it in the above provided sample. 

Regards,
Praveenkumar G 


Marked as answer
Loader.
Up arrow icon