Edit context : IsModified

Hi,

In my project, I am using DataAnnotationsValidator to fire validations. The view model am using contains a list of data, which is displayed using a sfgrid which contain a custom child component and former using parent component. If i made any changes to parent component and select close button it will triggers ismodified feature of editcontext but any changes made to the child component does not reflect here. Is it possible to trigger ismodified on applying changes to the child component.
Thanks Regards
Smisha Alias

3 Replies

VN Vignesh Natarajan Syncfusion Team May 5, 2021 12:09 PM UTC

Hi Smisha, 
 
Thanks for contacting Syncfusion support.  
 
Query: “ Is it possible to trigger ismodified on applying changes to the child component. 
 
Before proceeding further with your requirement, we need some more details about your requirement. So kindly share the following details to validate the reported query at our end.  
 
  1. Share the Grid code example along with the parent component.  
  2. Have you rendered the Grid component inside a EditForm which uses the different EditContent?
  3. Are you using default Grid edit feature? Or a handling the CRUD action custom on your own.
  4. Share the video demonstration of the issue you are facing.
  5. Share more details about your query.   
 
Above requested details will be very helpful for us to validate the reported query further at our end and provide solution as early as possible.  
 
Regards, 
Vignesh Natarajan  
  



SA Smisha Alias May 6, 2021 03:37 PM UTC

Hi,

I got the solution from your reply. we were using different edit context for parent and child. 

Thank you ,
Smisha Alias


VN Vignesh Natarajan Syncfusion Team May 7, 2021 03:26 AM UTC

Hi Smisha,  

Thanks for the update.  

We are glad to hear that you have achieved your requirement on your own. 

Please get back to us if you have further queries.  

Regards, 
Vignesh Natarajan 



Loader.
Up arrow icon