checkbox does not persist selection after refresh

Dear support,

we are using SignalR to refresh data when edited/added by another user.

We have checkboxes enabled in grid.

Our selections  are lost after the signalR is refreshing data OR when editing/adding data.

-we enabled: EnablePersistence="true" AND persistSelection IN datagrid.

Can you provide a working sample by editing the attached sample(database is included) in order not to lose the selected values after the grid is refreshed?

thanks




Attachment: myapplearnwithdatabase_58c3898f.zip

6 Replies

JP Jeevakanth Palaniappan Syncfusion Team November 11, 2021 02:19 PM UTC

Hi Dan, 

Greetings from Syncfusion support. 

We are currently analyzing your sample and so we will update the further details in two business days. Until then we appreciate your patience. 

Regards, 
Jeevakanth SP. 



JP Jeevakanth Palaniappan Syncfusion Team November 12, 2021 01:20 PM UTC

Hi Dan, 

Thanks for your patience. 

We have validated and considered your query as a bug and logged the defect report “Selection not maintained while editing with PersistSelection” for the same. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle) and including the fix in the next patch release which is expected to be rolled out by mid of December, 2021. Until then we appreciate your patience. 
 
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. 

Regards, 
Jeevakanth SP. 



JP Jeevakanth Palaniappan Syncfusion Team December 23, 2021 07:03 AM UTC

Hi Dan, 

We are glad to announce that our Essential Studio 2021 Volume 4 main release v19.4.0.38  is rolled out and is available for download under the following link. 
 
In this release we have included the fix for the issue “Selection not maintained while editing with PersistSelection”. Kindly upgrade to our latest version to resolve your issue. 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 

Regards, 
Jeevakanth SP. 



DA DAN February 10, 2022 10:34 AM UTC

dear support,

i updated the sample project 19.4.0.50, as you suggested, but it still does not work.

when editing from another screen, the checkboxes are not persisted.

can you please provide a modified working sample of the above?

thanks 




Attachment: myapplearnwithdatabaseupdated_b6a306c4.zip


MS Monisha Saravanan Syncfusion Team February 11, 2022 01:22 PM UTC

Hi Dan, 

Thanks for your update. 

currently we are validating the reported query at our end. We need some more time to analyze your query. So we will update you the further details in two business days on or before (16th February 2022).  

Until then we appreciate your patience. 
 
Regards, 
Monisha 



VN Vignesh Natarajan Syncfusion Team February 17, 2022 01:39 PM UTC

Hi DAN,  

Thanks for the patience.  

Query: “ but it still does not work. when editing from another screen, the checkboxes are not persisted. can you please provide a modified working sample of the above?” 

We have analyzed the reported query and we would like to inform you that while assigning the updated data (after CRUD operation) to Grid DataSource property, it is being considered as new datasource and selection is not persisted. Hence the reported issue occurs.   

So to overcome the reported issue, we suggest you to bind data and perform CRUD operation using CustomAdaptor feature of Grid. Refer the below UG documentation for your reference 


We have modified the provided sample and kindly refer the sample from below. 


Please get back to us if you have further queries.  

Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon