❔ Blazor: How to have a component inside a component?
I was reading the mudBlazor documentation and I saw that they call a blazor element and inside that element, they call other elements.
I didnt know it was even possible and I have no idea how i can do something like that.
I would like to call a component and inside that one, call as much component (that is made to work inside the parent one obviously) as I want.
As an exemple, I would like to make a table but the number of columns in unknown before run time. Inside the table component, I would like to be able to call multiple element such as textbox or a combobox. Anyway, something like in the picture.
Link to the mudblazor component: https://mudblazor.com/components/treeview#basic
I didnt know it was even possible and I have no idea how i can do something like that.
I would like to call a component and inside that one, call as much component (that is made to work inside the parent one obviously) as I want.
As an exemple, I would like to make a table but the number of columns in unknown before run time. Inside the table component, I would like to be able to call multiple element such as textbox or a combobox. Anyway, something like in the picture.
Link to the mudblazor component: https://mudblazor.com/components/treeview#basic

MudBlazor
Blazor Component Library based on Material Design. MudBlazor is easy to use and extend, especially for .NET devs because it uses almost no Javascript.




