I’m trying to build a UDGrid which has a checkbox in the first column of every row. I’ve gotten this working beautifully, but the issue is when I tick a checkbox, go to the next page of results in the grid and return to the first page of results, the previously ticked checkbox is now unticked. Notice what happens to the checkbox in the below screen capture:
The relevant code snippet that generated the above dashboard is here:
Get-UDDashboard | Stop-UDDashboard
$Page = New-UDPage -Name 'Test' -Content {
New-UDGrid -Headers @(' ','Id','Name') -Properties @(' ','Id','Name') -Endpoint {
Get-Process | Select-Object -Property @{
Name=' '
Expression={
New-UDCheckbox
}
},Id,Name | Out-UDGridData
}
}
$Dashboard = New-UDDashboard -Title "Grid Test" -Pages $Page
Start-UDDashboard -Dashboard $Dashboard -Port 9090
Any help would be appreciated!