New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Column Menu

The TreeList provides a built-in option for triggering column operations through a menu.

To enable the column-menu implementation, set .ColumnMenu(). As a result, the column headers of the TreeList will render a column menu which allows the user to sort, filter, or change the visibility of the column. The column menu also detects when a specific column operation is disabled through the column definition and excludes the corresponding UI from its rendering.

    @(Html.Kendo().TreeList<Kendo.Mvc.Examples.Models.TreeList.EmployeeDirectoryModel>()
        .Name("treelist")
        .ColumnMenu()
        /* Other configuration. */
    )

For a runnable example, refer to the demo on implementing a column menu in the TreeList.

See Also

In this article