Persistence is not working.

The grid has persistence set to "true" but if the user changes page size and refreshes the grid it reverts to the defaults. 

Using version 19.1.0.58

It was working earlier but not sure when it stopped working.

Mike



3 Replies 1 reply marked as answer

VN Vignesh Natarajan Syncfusion Team May 27, 2021 04:47 AM UTC

Hi Mike,  
 
Thanks for contacting Syncfusion support.  
 
Query: “The grid has persistence set to "true" but if the user changes page size and refreshes the grid it reverts to the defaults.  
 
We have analyzed your query and we understand that you are facing trouble with persistence in Grid. we have validate the reported issue by enabling the persistence and PageSizes (page size dropdown) property to change the Grid Page size dynamically and we are not able to reproduce the reported issue at our end. Kindly refer the below sample for your reference which we have prepared using 19.1.0.58 version.  
 
 
Note: Kindly ensure that you have defined static ID variable to Grid component. Based on ID property only persistence will work.  
 
If you are still facing the reported issue. Kindly get back to us with following details.  
 
  1. Share your Grid code example.
  2. Are you facing any exception/ script error in browser console.
  3. Have you used ForeignKey column in Grid?
  4. If possible share the issue reproducible sample or try to reproduce the reported issue in provided sample.
 
Above requested details will be very helpful for us to validate the reported query at our end and provide solution as early as possible.   
 
Regards, 
Vignesh Natarajan 



MC Mike Chafin May 27, 2021 12:27 PM UTC

In response to your questions:

1. The code is large
2. No errors
3. Yes there are several - is this an issue?
4. I'll see what I can do but this program is very large containing 8 different grids, none of them work with persistence.

                   
                            ShowColumnChooser="true"
                            ShowColumnMenu="true"
                            AllowPaging="true"
                            AllowSorting="true"
                            AllowFiltering="true"
                            AllowReordering="true"
                            AllowResizing="true"
                            AllowSelection="true"
                            AllowTextWrap="false"
                            AllowExcelExport="true"
                            AllowPdfExport="true"
                            EnablePersistence="true">
                       



VN Vignesh Natarajan Syncfusion Team May 27, 2021 12:43 PM UTC

Hi Mike,  
 
Thanks for the update.  
 
Query: “Yes there are several - is this an issue? 
 
Yes, we are facing issue in persistence when GridForeignColumn Key is defined in Grid. Since it is known issue, we have already resolved the reported issue and included the fix in our latest release 19.1.0.65. Please find the release notes regarding the same from below  
 
 
So we kindly request you to upgrade your application to our latest version to resolve the reported issue. Please get back to us if you have further queries.   
 
Regards,
Vignesh Natarajan
 


Marked as answer
Loader.
Up arrow icon