Child components as Parent properties in Blazor #12095
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
How to create a
DataGrid
component that can specifyGridColumns
as shown in the code below:DataGrid
is a templated component definition is as below:Till now i have been able to get the Contents in
DataGridColumns
property. But my intent is to get the eachDataGridColumn
as collection to customize the rendering of the HTML by looping through each element but so far i am unable to work out how to approach this solution.Desired HTML rendering for example:
The text was updated successfully, but these errors were encountered: