Dynamic children in PanelMenu

Hello @Team,

In my app the users can create visualization panels, where they can place fully independent components. It's something similar as shown in the Radzen Blazor sample, but with configurable components, positions and refresh times.

Each created panel must be displayed as a child of an item in the PanelMenu. How can this be achieved today using Radzen?

Hi @kim,

Probably the Visible property is the only thing close to what you need. The alternative is to add the Layout to the ignore list and generate the items dynamically:

@foreach (var item in dataItems) {
  <RadzenPanelMenuItem Text=@item.Text Path=@item.Path />
}
1 Like

I'll add it to the ignore list then. Better than nothing I guess. Thanks!