I have this sample dashboard
If i use New- UDGrid the wheel goes round and round.
If I use New-UDTable the data displays fine. Is this a bug or my noobness?
UD2.5.3
Get-uddashboard |Stop-UDDashboard
$Script:Result
$MyDashboard = New-UDDashboard -Title “Hello, World” -Content {
New-UDInput -Title “Enter Partial file name” -Endpoint {
param(
[string]$PartialFilename
)
$Result = Get-ChildItem -path c:\temp |Where-object -Property fullname -like “$PartialFilename”
New-UDInputAction -Content {
#Show-Toast to show that some data was returned
Show-UDToast -Message $Result.FullName[0] -duration 600000
New-UDGrid -Title “File Information” -Endpoint {
$Result | Out-UDGridData
}
# New-UDTable -Title “Files” -Header @(“name”, "FullName ") -Endpoint {
# $Result | Out-UDTableData -Property @(“name”, “FullName”)
# }
}#close input action
}
}
Start-UDDashboard -Port 10001 -Dashboard $MyDashboard
Also how can I keep the New-UDInput visible and display the results below , so the user can reuse the page and re-input data ?
so many questions for such an awesome product!!