# GridSmartBoxSettingsBuilder

## Methods

### Events(System.Action)

Configures the client-side events.

#### Parameters

##### configurator - System.Action<[GridSmartBoxEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxeventbuilder)>

The client events action.

#### RETURNS

The current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance for method chaining.

### Placeholder(System.String)

The unified placeholder text of the SmartBox input independent of the activated mode.

#### Parameters

##### value - `System.String`

The value for Placeholder

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.

### History(System.Action)

Sets the settings for the history queries of all modes. When set to true, enables history with default settings. Can be set to an object to customize the history behavior.

#### Parameters

##### configurator - System.Action<[GridSmartBoxHistorySettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxhistorysettingsbuilder)>

The configurator for the history setting.

#### RETURNS

Returns the current instance of [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) .

### History()

Sets the settings for the history queries of all modes. When set to true, enables history with default settings. Can be set to an object to customize the history behavior.

#### RETURNS

Returns the current instance of [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) .

### History(System.Boolean)

Sets the settings for the history queries of all modes. When set to true, enables history with default settings. Can be set to an object to customize the history behavior.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the history option.

#### RETURNS

Returns the current instance of [GridSmartBoxHistorySettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxhistorysettingsbuilder) .

### SuggestionTemplateHandler(System.String)

Represents the template for a suggestion in the SmartBox component AI Assistant mode.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for SuggestionTemplate

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.

### SuggestionTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

Represents the template for a suggestion in the SmartBox component AI Assistant mode.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the suggestiontemplate.

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.

### HistoryItemTemplateHandler(System.String)

Represents the template for a history query in the SmartBox component.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for HistoryItemTemplate

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.

### HistoryItemTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

Represents the template for a history query in the SmartBox component.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the historyitemtemplate.

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.

### SearchSettings(System.Action)

Configures the initial settings for the Search mode.

#### Parameters

##### configurator - System.Action<[GridSmartBoxSearchSettingsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsearchsettingssettingsbuilder)>

The configurator for the searchsettings setting.

#### RETURNS

Returns the current instance of [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) .

### SemanticSearchSettings(System.Action)

Configures the initial settings for the Semantic Search mode.

#### Parameters

##### configurator - System.Action<[GridSmartBoxSemanticSearchSettingsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsemanticsearchsettingssettingsbuilder)>

The configurator for the semanticsearchsettings setting.

#### RETURNS

Returns the current instance of [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) .

### AiAssistantSettings(System.Action)

Configures the initial settings for the AI Assistant mode.

#### Parameters

##### configurator - System.Action<[GridSmartBoxAiAssistantSettingsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxaiassistantsettingssettingsbuilder)>

The configurator for the aiassistantsettings setting.

#### RETURNS

Returns the current instance of [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) .

### ActiveMode(Kendo.Mvc.UI.SmartBoxActiveMode)

Defines the active mode of the SmartBox.

#### Parameters

##### value - [SmartBoxActiveMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/smartboxactivemode)

The value for ActiveMode

#### RETURNS

Returns the current [GridSmartBoxSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridsmartboxsettingsbuilder) instance.
