I’m building a page with multiple tabs. What I want to do is to show the value of a $Cache variable on each tab. When the page is set to AutoRefresh, the selected tab is no longer in focus and the browser goes to the first tab when the page is refreshed, and the $Cache variable value is updated = not what I want.
If I enable AutoRefresh on the chart that displays $Cache, and disable AutoRefresh on New-UDPage, the value is simply not updated on the dashboard/chart.
I’m using New-UDGridLayout by the way. I suspect that using New-UDColumn will solve my problem but I really like the drag and drop JSON code, it’s much simpler to do the layout.
A simple test shows the New-UDCounter properly updates by using $Cache:GetRandom, but New-UDChart does not. If I set the whole page to AutoRefresh, both are working, but I don’t want to refresh the entire page unless doing that can also keep the currently selected tab in focus.