Kendo UI GridSmartBoxSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridSmartBoxSettings<T> where T : class
Inheritance: objectGridSmartBoxSettings<T>
Inherited Members
Constructors
public GridSmartBoxSettings()
Properties
Defines the active mode of the SmartBox.
public SmartBoxActiveMode? ActiveMode { get; set; }
Configures the initial settings for the AI Assistant mode.
public GridSmartBoxAiAssistantSettingsSettings<T> AiAssistantSettings { get; }
Gets the SmartBox event handlers.
public IDictionary<string, object> Events { get; }
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.
public GridSmartBoxHistorySettings<T> History { get; }
Represents the template for a history query in the SmartBox component.
public string HistoryItemTemplate { get; set; }
The handler that returns the template used for HistoryItemTemplate
public string HistoryItemTemplateHandler { get; set; }
The id of the script element used for HistoryItemTemplate
public string HistoryItemTemplateId { get; set; }
The unified placeholder text of the SmartBox input independent of the activated mode.
public string Placeholder { get; set; }
Configures the initial settings for the Search mode.
public GridSmartBoxSearchSettingsSettings<T> SearchSettings { get; }
Configures the initial settings for the Semantic Search mode.
public GridSmartBoxSemanticSearchSettingsSettings<T> SemanticSearchSettings { get; }
Represents the template for a suggestion in the SmartBox component AI Assistant mode.
public string SuggestionTemplate { get; set; }
The handler that returns the template used for SuggestionTemplate
public string SuggestionTemplateHandler { get; set; }
The id of the script element used for SuggestionTemplate
public string SuggestionTemplateId { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()