I have troubles with foreach loop

Looking again, you have columns, then nested in that you have RadzenDataGridColumns, and in those you have more nested columns, then more nested RadzenDataGridColumns? I don't think you can nest columns inside of another, but I may be wrong. I've never seen this.

Look at this Template inside Composite Columns - Radzen.Blazor Components - Radzen

Slosuenos