UD-Table component questions

Hello,

  • It seems the UD-Table component has only a onrowselection event. Is there a way to detect when a row is unselected ?
  • Is it possible to hide “Toggle all rows selected” ?
  • It seems that when “Toggle all rows selected” is checked, the onrowselection event doesn’t fires, it it a bug or by design ?
  • Is it possible to disable the multiple selection behavior ?
  • Is there a way to highlight a row when the mouse pointer is over ?
  • Is there a way to color the background of a row on selection ?
  • Can we change the background and foreground colors of the column headers ?

Thank you by advance.

  • It seems the UD-Table component has only a onrowselection event. Is there a way to detect when a row is unselected ?

No, but we could add this.

  • Is it possible to hide “Toggle all rows selected” ?

No, but we could provide an option.

  • It seems that when “Toggle all rows selected” is checked, the onrowselection event doesn’t fires, it it a bug or by design ?

This is a bug.

  • Is it possible to disable the multiple selection behavior ?

No, but we could provide an option.

  • Is there a way to highlight a row when the mouse pointer is over ?

I think we could add some sort of styling support for rows so that we could make this happen.

  • Is there a way to color the background of a row on selection ?

No, but we could provide an option.

  • Can we change the background and foreground colors of the column headers ?

You should be able to do this with the -Style parameter of New-UDTableColumn

If you want to open issues for this on the GH repo, feel free: GitHub - ironmansoftware/issues: Public Issue tracker for Ironman Software

I opened issues for these items.

Thank you, I have seen some of the requests are closed and should be available in the 1.5.19 version but where can I find information about these new features plz ? It seems the documentation is not updated.

I just added these parameters to the docs:

-HideToggleAllRowsSelected

Disables the toggle all rows when using selection

-DisableMultiSelect

I’ve added information about changes to the -OnRowSelection event here: Table - PowerShell Universal

For more information on what else changed, you can look at the changelog: https://docs.powershelluniversal.com/changelog#dashboard-1

It works perfectly thank you :wink: