we have a dynamic page where we display our graph. we get the data via API and create model and show the tree. we have sidesheet where user can create new data and when we come to same page it. The issue here is I have to hide that div when we don’t have any data and if the user adds any data via sheet then it should be visible again with a tree/graph.
So what is the problem? Just set the
visibilityproperty of the HTMLDivElement’s style.
It’s not working it says element not found.
I’m not able to answer unless you provide enough information to describe what you are doing and what the conditions are that cause the behavior you describe.