New-UDTable -OnRowExpand Width 5+ New-UDTableColumn

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.

Any thoughts @adam

I can reproduce this and it’s actually been resolved in on next version. We had a static colspan of 5 set and now it sets it dynamically.