How to uncheck all rows in UD-Table

How to uncheck all rows in UD-Table

avatar
(anonymous user)

How can I unselect all the rows in a table? I have tried many things with the Set-Element but could not figure this out or find it in the documentation.

Product: PowerShell Universal
Version: 1.4.6


All Comments (2)

avatar

Here’s a bit of a hack but seems to work.

Invoke-UDJavaScript -JavaScript "document.querySelector('span[title=`"Toggle All Rows Selected`"]').childNodes[0].click()"


Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar

How would you do that when -DisableMultiSelect is being used?