Refresh Interface

Hi All,

I have two interface, A and B. When a button in interface A is clicked all the components in B should be refreshed. Is it possible to refresh all the components in interface B without passing parameters in all components in interface B?(I am passing the refresh variable from A to B, but not from B to components in B)

  Discussion posts and replies are publicly visible

Parents
  • You have two components, A and B. You aim to refresh component B when a specific button in component A is clicked. To achieve this, you've introduced a refresh variable to monitor whether a button in component A has been clicked.

    Now, within component B, there are additional child components, X, Y, etc. You want these child components to be refreshed as well, but without explicitly passing the refresh variable to each of them. While a typical approach would involve passing the refresh variable to the child components of B, you're exploring an alternative solution to avoid this, right?

Reply
  • You have two components, A and B. You aim to refresh component B when a specific button in component A is clicked. To achieve this, you've introduced a refresh variable to monitor whether a button in component A has been clicked.

    Now, within component B, there are additional child components, X, Y, etc. You want these child components to be refreshed as well, but without explicitly passing the refresh variable to each of them. While a typical approach would involve passing the refresh variable to the child components of B, you're exploring an alternative solution to avoid this, right?

Children
No Data