Closed crimsonread closed 3 months ago
I can't reproduce your issue:
$data = Get-Process | Select-Object Name, WorkingSet, Id, VirtualMemorySize, CPU -First 10
New-HTML -HtmlData {
New-HTMLTable -DataTable $data -HideFooter -PagingLength 30 -HTML {
New-TableButtonCopy
New-TableButtonColumnVisibility
New-TableButtonCSV
New-TableCondition -Name Name -ComparisonType string -Operator eq -Value teams -Color BlueViolet -BackgroundColor MoonYellow -Row
New-TableCondition -Name Name -ComparisonType string -Operator like -Value svc -Color White -BackgroundColor Green
}
} -ShowHTML
Hello,
The version of module is 1.12.0 for testing. The result looks like below.
Try the prerelease version which is 1.13.0. Maybe it will help.
Try the prerelease version which is 1.13.0. Maybe it will help.
Hello,
Okay, 1.13.0 solved the issue. However, it made other issue on New-TableCondition which is not working at all.
$data = Get-Process | Select-Object Name, WorkingSet, Id, VirtualMemorySize, CPU
New-HTML -HtmlData {
New-HTMLTable -DataTable $data -HideFooter -PagingLength 30 -HTML {
New-TableButtonCopy
New-TableButtonColumnVisibility
New-TableButtonCSV
New-TableCondition -Name Name -ComparisonType string -Operator eq -Value pwsh -Color BlueViolet -BackgroundColor MoonYellow -Row
}
} -ShowHTML
Try newest version. It's because of the change to ConvertTo-Json
Try newest version. It's because of the change to ConvertTo-Json
Great!. It is working now. Thanks.
Hello,
At a new version of this module, I found that table button is not working when I include New-TableButtonCSV in the script.
On the other hand, table button is working if I do not include New-TableButtonCSV