Setting height for Virtualized RadzenDropDownDataGrid

I am using a virtualized RadzenDropDownDataGrid to display a list of Components that are ~110px tall. The default height of the popup is too small and I cannot find a way to set it. When virtualized the PageSize property is ineffective. Is this possible?

Here is the relevant razor:

<RadzenDropDownDataGrid Data="containers" @bind-Value="selectedContainerId" ValueProperty="@nameof(Container.Id)" AllowVirtualization="true">
    <Template>
        <ContainerListItem Container="@context"/>
    </Template>
    <ValueTemplate>@((context as Container)!.Name)</ValueTemplate>
</RadzenDropDownDataGrid>

And an image to demonstrate how it appears.
https://i.imgur.com/TAWwPYf.png

There is a PopupStyle property where you can set the height.

Are you sure? I can't access it in Visual Studio and I don't see it in the API Reference either.

https://blazor.radzen.com/docs/api/Radzen.Blazor.RadzenDropDownDataGrid-1.html

Sorry, my mistake! It’s available for the DropDown but not for the DropDownDataGrid - we will add it for the next update before the end of the week.

1 Like