nunile
October 9, 2024, 4:51pm
1
Hi guys,
Absolutely loving the Radzen Components! I'm currently finishing a web app for internal company use but I'm missing an actual TreeGrid component.
For example: Blazor Tree Grid Overview Example - Syncfusion Demos
Now I've already tried to adjust the RadzenTree component and it looks pretty good, but it's not 100% a TreeGrid.
I've also tried using the grouping within the RadzenDataGrid component and this got me closer to the desired result but not 100%.
Will there be a treegrid component anytime soon?
nunile
October 10, 2024, 9:39am
3
Hi Enchev,
I don't think this will fit my needs, let me elaborate a bit further.
On page load I will load data for 1 specific project (it's a project detail page).
The structure looks like this:
Root object: Project
Projects can have 1 or more ProjectPhase
ProjectPhase can have 1 or more PhaseItem
PhaseItem can have 1 or more ItemDate
The self-reference looks like to only work when the base object class is the same or am I wrong about this?
enchev
October 10, 2024, 9:41am
4
You cannot have a tree grid with same columns across levels with different object types.
korchev
October 10, 2024, 10:15am
5
This case shows different objects being bound in the same data grid. Not sure how the columns would work. If you want different objects check this demo: Blazor DataGrid Component - Hierarchy on Demand | Free UI Components by Radzen
If you want to display hierarchical data - the self-referencing demo is a good start. As long as the objects are from the same type (or at least have a common base type) it should work.