You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.
I have a function that runs some queries on a database and returns the data on a grid.
When I try to run a different query that includes a different set of columns, then the grid does not refresh. I am unable to refresh the grid without manually refreshing the page.
Get-Report -Date "Last Year" -ReportType "Report 2" Should return -> Cat2 | Number
On the grid:
Cat
Number
5436
The Grid refreshes only the data that had previously populated. If I refresh the page then data is displayed correctly.
To Reproduce
Run a function that returns a pscustomobject with two or more properties and send them to a grid. Then run the function again but this time the function should return a pscustomobject with different properties.
I have a function that runs some queries on a database and returns the data on a grid.
When I try to run a different query that includes a different set of columns, then the grid does not refresh. I am unable to refresh the grid without manually refreshing the page.
This does not happen on the UDChart component.
Here is an example of the function:
Get-Report -Date "Last Year" -ReportType "Report 1" returns -> Cat | Number
Get-Report -Date "Last Year" -ReportType "Report 2" Should return -> Cat2 | Number
On the grid:
The Grid refreshes only the data that had previously populated. If I refresh the page then data is displayed correctly.
To Reproduce
Run a function that returns a pscustomobject with two or more properties and send them to a grid. Then run the function again but this time the function should return a pscustomobject with different properties.
Expected behavior
The grid should refresh automatically.
Screenshots
https://imgur.com/a/sPaWStC
Script Sample
Version Information
The text was updated successfully, but these errors were encountered: