Skip to content

Instantly share code, notes, and snippets.

@McAndersDK
Last active September 28, 2020 06:31
trouble with rendered table column
$pages = New-UDPage -Id "PageInstances" -Name 'Instances' -DefaultHomePage -Title 'Instances' -Content {
Write-Debug 'Instances Starting'
New-UDCard -Id "CardInstances" -Title 'Instances' -Content {
$Columns = @(
New-UDTableColumn -id "TableColumnName" -Property Name -Title Name -Render {
New-UDButton -Text "Test"
}
New-UDTableColumn -Id 'TableColumnRunning' -Property Running -Title Running
)
New-UDTable -Id "TableInstances" -Title Instances -Data @{Name = "Test" } -Columns $Columns
Write-Debug "Instances END"
}
}
New-UDDashboard -Title "Hello, World!" -pages $pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment