All Components


    Grid / Hierarchy


    There are projects which require to display table data in hierarchical-like fashion, in order to visualize relations between parent and child records.

    This is where the Telerik MVC grid hierarchy feature comes in handy. To implement hierarchy with the grid widget, you need to:

    • Set the ClientDetailTemplateId setting which specifies the id of the script element containing the client-side detail template of the grid
    • Define the script tag content that will be shown when the user expands the grid rows

    ASP.NET MVC source

    Also available for:

    • hierarchy.cshtml
    • HierarchyController.cs

    Support & learning resources

    Grid for other technologies