We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Blazor Grid - Destroyed event doesn't get triggered / Gird not updated

Thread ID:

Created:

Updated:

Platform:

Replies:

150741 Jan 17,2020 04:47 PM UTC Jan 20,2020 02:05 PM UTC Blazor 1
loading
Tags: Grid
Bishan Moteria
Asked On January 17, 2020 04:47 PM UTC

Hello,

Having couple issues:
1. Destroyed event of the grid component does not get triggered when cascading values is updated from the parent component.
2. For fun I tried printing cascading values in the child component - values are updated. But the grid isn't updated with new data. 

Ideally I would like to re-render grid with updated values when new cascading values available.

Thank you,
Bishan M.

Vignesh Natarajan [Syncfusion]
Replied On January 20, 2020 02:05 PM UTC

Hi Bishan,  
 
Query: “ Destroyed event of the grid component does not get triggered when cascading values is updated from the parent component && “For fun I tried printing cascading values in the child component - values are updated. But the grid isn't updated with new data.  
 
From the query we understood that you want to reflect grid based on the value from the parent component. Normally when parent component updates some property then grid will refresh if it bound to grid and will not destroy itself. The component disposal will happens when grid is removed from the view as a action of content or page switching. Hence kindly share the following details which will be helpful for us to understand well and validate the query further.  
 
  1. When do you want to call the destroyed event of the Grid?.
  2. Kindly share more details about the Cascaded values you are referring to.
  3. On which action the parent component updates the cascading value?.
  4. Share your Syncfusion Nuget package. Also ensure that you have referred the same version of Nuget package and script files.   
 
Regards, 
Vignesh Natarajan. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon