Add columns to a datagrid dynamically

Hi @blu,

If this is related to your previous question:

Maybe it will be easier for you to create custom component similar to this article:

You will be able to use @foreach in the custom component razor markup.