/dashboard.ps1 Secret
Last active
September 28, 2020 06:31
trouble with rendered table column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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