NEW-UDTable with -loaddata, how to set starting page?

NEW-UDTable with -loaddata, how to set starting page?

avatar
Product: PowerShell Universal
Version: 4.3.3

I use New-UDTable -loaddata to display data with varying columns.

When I click on a button data gets generated and either stored in a file or in a $page: variable.

Then I do a Sync-UDElement -id “table” -Wait

Inside the table -loaddata code I set the new columns and then populate the table with the data from $page: variable.

$data| Out-UDTableData -Page $EventData.Page -TotalCount $tdc -Properties $columns

This all works nicely.

Only issue:

If I click the button, populate the table and than click the table > to e.g. page 5,

then I click the button and generated new/other data,

the table gets populated, but if the data would only have e.g. 3 pages, it shows empty until I click |< .

How can I tell the table to start at page 0?

Changing the -Page property in Pu-UDTableData shows no effect.

Setting the property pag on UDTable with set-udelement does not show any effect either.

All Comments (0)