I have a New-UDTable that presents some data. The first column is changed to a “view detail” link with New-UDTableColumn -Render function.
$MyColumns = @(
New-UDTableColumn -Property CustomerID -Title "CustomerID" -Render {
$Item = $Body | ConvertFrom-Json
New-UDLink -Url "/Customer/Details/$($Item.CustomerID)" -Text $Item.CustomerID
}
New-UDTableColumn -Property CustomerName -Title "Customer"
New-UDTableColumn -Property VMs -Title "VMs"
New-UDTableColumn -Property NumCPU -Title "CPUs"
New-UDTableColumn -Property MemoryGB -Title "Memory GB"
New-UDTableColumn -Property StorageGB -Title "Storage GB"
)
New-UDTable -Columns $MyColumns -Data $Data -Sort -PageSize 10 -PageSizeOptions @(10, 25) -Search
When i initially load the page everything looks just fine.
But if i move my mouse over the table it renders the whole thing again and looks like this
Any idea what i do wrong? I am on Powershell Universal 1.4.3