Checkbox State Persistence

Hello,

I want to store the State Persistence of my Checkbox:

<SfCheckBox @bind-Checked="@ShowGrouping" Label="Group" LabelPosition="LabelPosition.Before" ID="checkboxPortGroupingParameterComponent" EnablePersistence="true" />

I want to persist the value ShowGrouping (same for Filtering) so my Grid is showing the Group section according the saved ShowGrouping value.

The grid persist the grouped colums but everytime I go to the page I have to manually check the CheckBox to see the grouping. And to save space we need to dynamicly enable/disable the grouping feature!

Is it possible that the persistence of the CheckBox is not working or where I have done the mistake?

Many Greetings,
Bernd

8 Replies

AS Aravinthan Seetharaman Syncfusion Team April 29, 2021 06:36 PM UTC

Hi Bernd, 
 
Thanks for contacting Syncfusion Support. 
 
We have checked your query. We will consider this as an improvement, and it will be available in our 2021 volume 2 release which expected to schedule on end of June 2021. We appreciate your patience until then. You can also track the status of this improvement by using our feedback portal link. 
 
 
Regards, 
Aravinthan S 



BP Bernd Parchmann May 5, 2021 10:09 AM UTC

Thx much for informing me!

Maybe the SfGrid can persist the AllowGrouping and AllowFiltering value, too!? The grouped columns for example can be persisted but not the AllowGrouping information!


RS Renjith Singh Rajendran Syncfusion Team May 6, 2021 12:10 PM UTC

Hi Bernd, 

Thanks for your update. 

Query : SfGrid can persist the AllowGrouping and AllowFiltering value, too!?  
Kindly confirm with us regarding your exact requirement to proceed further. Could you please share with us the following detail which would be helpful for further analysis.  

  1. Are you willing to fetch the state value(either true or false) of SfGrid’s AllowGrouping and AllowFiltering properties, when calling the Grid’s GetPersistData method?

 
Regards, 
Renjith R 



BP Bernd Parchmann May 10, 2021 01:59 PM UTC

Hi,

as I wrote in the first post, the SfGrid is persisting the grouped columns but not the state AllowGrouping (and AllowFiltering).

So after restart or reload page the columns are still grouped (good!) but the open AllowGrouping is resetted to default because this value is not persisted.

So one solution is to persist this value(s) with the SfGid persistence (second query) and/or with my SfCheckBox (first query). Best would be that SfGrid and SfCheckBox are able to persist this (as expected)!

Best Greetings,
Bernd


RS Renjith Singh Rajendran Syncfusion Team May 11, 2021 12:24 PM UTC

Hi Bernd, 

We have considered it as a usability improvement and logged a task “Provide support to persist SfGrid component DataOperation property state”. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision and technological feasibility. We will implement this feature in our upcoming bi-weekly release which is expected to be rolled out by the end of June 2021. 
  
You can also communicate with us regarding the open features any time using our Feature Report page.     

Regards, 
Renjith R 



BP Bernd Parchmann June 30, 2021 11:18 AM UTC

Hi,


a short update for persisting the grid grouping and the checkbox value with 19.2.44!


result:



code:



-> the grid changes (allow grouping binding) has no impact on the local storage

-> the check box changes has an impact, but the key is not stored -> key "null"


Best regards,

Bernd



RS Renjith Singh Rajendran Syncfusion Team July 1, 2021 11:37 AM UTC

Hi Bernd, 

Sorry for the inconvenience caused. 

Due to some unforeseen circumstances, we could not implement this feature in our latest release version(19.2.0.44). We have planned to implement this feature in our upcoming bi-weekly release which is expected to be rolled out by the end of July 2021. Until then we appreciate your patience.  

Please follow up on the feedback link for future updates regarding this feature request. 

Regards, 
Renjith R 



VN Vignesh Natarajan Syncfusion Team January 3, 2022 01:25 PM UTC

Hi Brend,  
 
We would like to inform you that we are unable to include the usability improvement “Provide support to persist SfGrid component DataOperation property state” as promised. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.  
  
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.          
  
 
We do not have immediate plan to implement this feature and it will be included in any of our upcoming releases. Please cast your vote to make it count. So that we will prioritize the features for every release based on demands and consider the requirement in our Wishlist.  
 
Please let us know if you have any concerns. 
 
Regards, 
Vignesh Natarajan  
 


Loader.
Up arrow icon