Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@McAndersDK
Last active September 28, 2020 06:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save McAndersDK/a147376cab52b98c0309fc39f09e25b6 to your computer and use it in GitHub Desktop.
Save McAndersDK/a147376cab52b98c0309fc39f09e25b6 to your computer and use it in GitHub Desktop.
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