All Components


    SASS Theme Builder

    Create new or customize SASS themes
    Launch Theme Builder

    Grid / Toolbar template


    The MVC grid component exposes an option to define a content template for its toolbar.

    Here you can see a sample implementation of a toolbar template incorporating a dropdownlist HtmlHelper to list the records in the grid by category. The combo is populated with the list of categories and the filter is applied on its change event by invoking the grid.dataSource.filter(params) method from the client-side API.

    Note that the toolbar template is instantiated by the ToolBar -> Template method.

    ASP.NET MVC source

    Also available for:

    • toolbar_template.cshtml
    • Toolbar_TemplateController.cs
    • ProductService.cs

    Support & learning resources

    Grid for other technologies