Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

Explanation of onAfterUpdate property changes

$
0
0

Hi all,

 

since I am working with ajax calls in my component I am facing problems receiving the results of these calls.

 

The results are coming back to the component function which are called on initiation, but the data that I want to use in other components like textviews are only ready when the components are already rendered.

 

Now I am looking for a solution for firing an event in order to rerender again with data which should be shown in the first place.

 

 

The SDK for example is providing firePropertiesChanged(['property']) but this event is only calling the getter of the component.

 

I would need something that could be called after my ajax call is finished and the question is where I should put this. The SDK recommends that the firePropertiesChanged() should be called in onAfterRendering()

 

 

Best Regards

Christian


Viewing all articles
Browse latest Browse all 8150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>