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

Provides a fluent interface for configuring the sort command in the Grid toolbar.

Definition

Constructors

C#
public GridToolBarSortCommandBuilder(GridToolBarSortCommand<T> command)
Parameters:commandGridToolBarSortCommand<T>

Methods

Show a clear all sorts or clear all filters button. Only applicable for Sort and Filter tools.

C#
public GridToolBarSortCommandBuilder<T> ClearButton(bool value)
Parameters:valuebool

The value indicating if the Clear Button should be rendered.

Returns:

GridToolBarSortCommandBuilder<T>