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

Defines the fluent interface for configuring toolbar sort command.

Definition

Constructors

Initializes a new instance of the GridToolBarSortCommandBuilder class.

C#
public GridToolBarSortCommandBuilder(GridToolBarSortCommand command)
Parameters:commandGridToolBarSortCommand

Methods

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

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

The value indicating if the Clear Button should be rendered.

Returns:

GridToolBarSortCommandBuilder

A reference to the GridToolBarSortCommandBuilder instance after the operation has completed.