Showing DataList items side by side

Hi,

is it possible to show DataList items styled like cards side by side from left to right and not each in one row?
Thanks.

Hi @leoog5,

Yes, this is possible. Set the WrapItems attribute to true.

    <RadzenDataList WrapItems="true" AllowPaging="@(!allowVirtualization)"
                    Data="@products" TItem="Product" PageSize="5" PagerHorizontalAlign="HorizontalAlign.Left" ShowPagingSummary="true">
        <Template Context="product">
            <RadzenCard>
               @product.ProductName
            </RadzenCard>
        </Template>
    </RadzenDataList>

1 Like

Thank you for your help.