querycellinfo no longer getting called on grid.refresh()

After updating to the latest version of Syncfusion nuget and js libraries (v19.1.69) the querycellinfo method no longer is called when calling grid.refresh(). It only seems to get called on initial load. Our previous confirmed working version was 18.3.52


querycellinfo does get called when calling grid.componentRefresh(), which removes and redraws the entire component, but that does not seem to be ideal, from a UX perspective


3 Replies 1 reply marked as answer

VS Vignesh Sivagnanam Syncfusion Team June 28, 2021 12:12 PM UTC

Hi Richard 
  
Greetings from Syncfusion support 
  
Based on your reported issue we understand that the queryCellInfo event is not triggered while refreshing the grid using the EJ2 Grid refresh method. We have validate your reported issue at our end but we are unable to reproduce the reported issue at our end with the reported version (v19.1.69).  
  
Please refer the below sample for your reference, 
  
  
If you still faced the reported issue at your end, Please share the below details to validate further  
   
1. Share the full grid code example.  
   
2. If possible please replicate the issue on our provided sample or share the issue reproduced sample.  
  
3. Are you facing any script error at your end? 
  
Regards 
Vignesh Sivagnanam 



RP Richard Popovich June 28, 2021 02:18 PM UTC

I compared the example to mine, and realized the issue.


I had added 'enableImmutableMode=true' to mine, while debugging another issue. This was causing queryCellInfo to not get called on grid.refresh().


Marked as answer

VS Vignesh Sivagnanam Syncfusion Team June 29, 2021 11:59 AM UTC

Hi Richard 
  
Thanks for the update  
  
We are happy to hear that your issue is resolved. 
  
Regards 
Vignesh Sivagnanam 


Loader.
Up arrow icon