GridSmartBoxSettingsBuilder
Methods
Events(System.Action)
Configures the client-side events.
Parameters
configurator - System.Action<GridSmartBoxEventBuilder>
The client events action.
RETURNS
The current 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 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>
The configurator for the history setting.
RETURNS
Returns the current instance of 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 .
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 .
SuggestionTemplate(System.String)
Represents the template for a suggestion in the SmartBox component AI Assistant mode.
Parameters
value - System.String
The value for SuggestionTemplate
RETURNS
Returns the current GridSmartBoxSettingsBuilder instance.
SuggestionTemplateId(System.String)
Represents the template for a suggestion in the SmartBox component AI Assistant mode.
Parameters
templateId - System.String
The ID of the template element for SuggestionTemplate
RETURNS
Returns the current GridSmartBoxSettingsBuilder instance.
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 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 instance.
HistoryItemTemplate(System.String)
Represents the template for a history query in the SmartBox component.
Parameters
value - System.String
The value for HistoryItemTemplate
RETURNS
Returns the current GridSmartBoxSettingsBuilder instance.
HistoryItemTemplateId(System.String)
Represents the template for a history query in the SmartBox component.
Parameters
templateId - System.String
The ID of the template element for HistoryItemTemplate
RETURNS
Returns the current 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 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 instance.
SearchSettings(System.Action)
Configures the initial settings for the Search mode.
Parameters
configurator - System.Action<GridSmartBoxSearchSettingsSettingsBuilder>
The configurator for the searchsettings setting.
RETURNS
Returns the current instance of GridSmartBoxSettingsBuilder .
SemanticSearchSettings(System.Action)
Configures the initial settings for the Semantic Search mode.
Parameters
configurator - System.Action<GridSmartBoxSemanticSearchSettingsSettingsBuilder>
The configurator for the semanticsearchsettings setting.
RETURNS
Returns the current instance of GridSmartBoxSettingsBuilder .
AiAssistantSettings(System.Action)
Configures the initial settings for the AI Assistant mode.
Parameters
configurator - System.Action<GridSmartBoxAiAssistantSettingsSettingsBuilder>
The configurator for the aiassistantsettings setting.
RETURNS
Returns the current instance of GridSmartBoxSettingsBuilder .
ActiveMode(Kendo.Mvc.UI.SmartBoxActiveMode)
Defines the active mode of the SmartBox.
Parameters
value - SmartBoxActiveMode
The value for ActiveMode
RETURNS
Returns the current GridSmartBoxSettingsBuilder instance.