Hi @adam I have been using the -OnRowExpand for the table rows which is superb, but the row expand will only work to the width of 5 New-UDTableColumn’s. If i were to have 5+ New-UDTableColumn, the expand is only the width of the first 5 rows. You can test this out with the code below:
New-UDDashboard -Title 'PowerShell Universal' -Content {
$Data = [pscustomobject]@{1=1;2=2;3=3;4=4;5=5;6=6;7=7;8=8;9=9}
$Columns = @(
1..9 | Foreach-Object {
New-UDTableColumn -Property $_ -Title $_
}
)
New-UDTable -Id 'Process' -Data $Data -Columns $Columns -Title 'Services' -ShowSearch -ShowPagination -Dense -Export -OnRowExpand {
"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "
}
}
Without expanding:
Expanded (note the dotted line is only the width of the first 5 rows):
I have played around with the CSS for this, but cannot get that -OnRowExpand to go full width when over 5 rows - any help would be appreciated.
Thanks.