Product: PowerShell Universal Version: 1.5.0 Dashboard: 3.2.0
When row selecting is enabled, the $EventData in -OnRowSelected or Get-Element on the table do not return an “id” or anything like it as shown in the example. I am looking at variable values from the copy-paste of the code from https://docs.ironmansoftware.com/dashboard/components/data-display/table#selection. In the example. the gif shows id field returned.
What I want to do: I need that field/or any some way of passing an invisible column “id” to find out which fields are selected and delete selected fields from an MSSQL table. Now that I am thinking about it, I am not sure how to make the transition of the “table” id, to my record id. I am already passing the id value in the object that is passed to Out-UDTableData, and using that to make a delete button column using $EventData.id inside the New-UDTableColumn -Render. With the new table select, I was hoping to add the ability to select multiple rows and delete them at once with a “delete” button, but again at a loss as to how to get which rows are selected without making an ID row that is visible for my users. Appreciate any suggestions.