We purchased the License so we can use Drag and Drop and it’s not working even with the example code, even with Chrome or IE. We are using the code here
Get-UDDashboard | Stop-UDDashboard
New-UDEndpointSchedule -Every 1 -Second
############################
Dashboard Formatting
############################
$Theme = Get-UDTheme DarkDefault
$Dashboard = New-UDDashboard -Title “Service Manager Dashboard” -Theme $Theme -Footer $Footer -Content {
New-UDGridLayout -Content {
New-UDCard -Title “Card 1” -Id ‘Card1’
New-UDCard -Title “Card 2” -Id ‘Card2’
New-UDCard -Title “Card 3” -Id ‘Card3’
}
}
Start-UDDashboard -Dashboard $Dashboard -Port 10004 -Design
But are not getting the symbol on the top right of the window to drag stuff around, very frustrating. Any ideas?
Hello @tyler.rosolowski thanks for posting this question. I achieved this in 2.5.2 using the following code:-
indent preformatted text by 4 spaces New-UDTab -Text "Set Distance Allowance" -Content {
$Layout = '{"lg":[{"w":7,"h":15,"x":0,"y":0,"i":"grid-element-gridcard","moved":false,"static":false},{"w":4,"h":8,"x":7,"y":0,"i":"grid-element-mileageAllowance","moved":false,"static":false},{"w":1,"h":3,"x":11,"y":0,"i":"grid-element-icon","moved":false,"static":false}]}'
New-UDGridLayout -Draggable -Resizable -Layout $Layout -Content {
New-UDGrid -Id "gridcard" -Title "Set The Distance Allowance On A Vehicle ID" -Headers @("Vehicle_ID", "Agreement", "Registration", "EngineType", "MileageAllowance" ) -Properties @("Vehicle_ID", "Agreement", "Registration", "EngineType", "MileageAllowance" ) -DefaultSortColumn "Vehicle_ID" -PageSize 10 -Endpoint {
$Cache:MilageAllowance | Select-Object "Vehicle_ID", "Agreement", "Registration", "EngineType", "MileageAllowance" | Out-UDGridData
} -AutoRefresh -RefreshInterval 20
I do not see you using the -Draggable or -Resizable parameters. This should do the trick