R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
Change Theme

SASS Themes

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      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