UDTable shows row (with rendered columns) even when showing 0-0 of 0 rows after searching

This is with server-side processing, btw. I've seen this in 2026.3.4 and 2026.3.5. Not sure if it happened before that though.
My bad, it was my code in the server-side code:
- if ($CatalogRows.Count -eq 0) {
- $EmptyCatalogRows = [System.Collections.ArrayList]::new()
- Out-UDTableData -Data $EmptyCatalogRows @TableDataParameters
- }
- else {
- $CatalogRows | Out-UDTableData @TableDataParameters
- }
+ $CatalogRows | Out-UDTableData @TableDataParameters
Hello,
Thank you for posting the fix you found.
Your diagnosis is correct.
The -Data parameter of Out-UDTableData takes a single object, so an empty ArrayList passed with -Data becomes one row, and your -Render blocks fill it with their default values.
When the same collection is piped, an empty result sends nothing, so no row is built.
Your single pipeline is the right pattern, and it matches the server-side examples in our documentation.
https://docs.devolutions.net/powershell-universal/apps/components/data-display/table
Best regards,
Patrick Ouimet