Does the Grid support showing more than 10 items?

It would be really nice to get the grid output to show more than 10 items per page, as I am displaying a lot of records in these. Is this possible?

1 Like

I don’t know what your code looks like but you can use the parameter -NoPaging

New-UdGrid -NoPaging -Title "Processes" -Headers @("Name", "ID", "Working Set", "CPU") -Properties @("Name", "Id", "WorkingSet", "CPU") -AutoRefresh -RefreshInterval 60 -Endpoint {
       Get-Process | Select Name,ID,WorkingSet,CPU | Out-UDGridData
}
2 Likes

Awesome I didn’t see this parameter. I will give this a go tomorrow. Thanks again for the reply.

1 Like

@psDevUK

Teamwork makes the dream works :sunglasses:

You can also use the -PageSize parameter to specify the number of rows per page. More info at the New-UDGrid docs page.

2 Likes

Wow now im spoilt for choice, many thanks @adegutis for the second way around this. :slight_smile:

Thanks again both @nicoeat614 and @adegutis ended up using the -PageSize parameter. Need to get some new glasses I think as I got a lot of reading to now do to find other parameters I didn’t know existed.

Glad to help. I am still learning how to set up dashboard elements so I understand the learning curve. I’ll be posting my own “how do I” questions soon enough.