Attempt to uninitialize widget that is not loaded yet and Cannot read properties of null (reading render)

1
Hello Mendixers, How do I solve problems of uninitializations?      I am using a data grid that shows a list of locations, and a data view that listens to the said datagrid, which has a Google Maps widget. When I first open the page it tells me that the requested location cannot be found along with this console log.     If I switch locations back and forth, it corrects itself and shows me the proper location. If I leave the page however, I get the client log that says it attempted to uninitialize a widget that is not loaded yet.    Any idea of how I can fix this?
asked
1 answers
1

Hi Curelariu,

 

I suppose that  ‘the data view that listens to the said datagrid, which has a Google Maps widget’ wants to listen to the grid but at first nothing comes. So a solution might be putting $currentobject != empty to the visibility of the data view.

 

Ferhat

answered