GridSmartBoxEventBuilder
Methods
Search(System.String)
Fired when the user performs a search in the SmartBox Search mode.
For more information see Search event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the search event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Search(System.Func)
Fired when the user performs a search in the SmartBox Search mode.
For more information see Search event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
SemanticSearch(System.String)
Fired when the user performs a search in the SmartBox Semantic Search mode.
For more information see SemanticSearch event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the semanticSearch event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
SemanticSearch(System.Func)
Fired when the user performs a search in the SmartBox Semantic Search mode.
For more information see SemanticSearch event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantPromptRequest(System.String)
Fired before the SmartBox sends a prompt request to the AI service in AI Assistant mode.
For more information see AiAssistantPromptRequest event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the aiAssistantPromptRequest event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantPromptRequest(System.Func)
Fired before the SmartBox sends a prompt request to the AI service in AI Assistant mode.
For more information see AiAssistantPromptRequest event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantResponseSuccess(System.String)
Fired when the AI service returns a successful response in AI Assistant mode.
For more information see AiAssistantResponseSuccess event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the aiAssistantResponseSuccess event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantResponseSuccess(System.Func)
Fired when the AI service returns a successful response in AI Assistant mode.
For more information see AiAssistantResponseSuccess event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantResponseError(System.String)
Fired when the AI service returns an error in AI Assistant mode.
For more information see AiAssistantResponseError event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the aiAssistantResponseError event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantResponseError(System.Func)
Fired when the AI service returns an error in AI Assistant mode.
For more information see AiAssistantResponseError event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantCancelRequest(System.String)
Fired when the user cancels an ongoing AI request in AI Assistant mode.
For more information see AiAssistantCancelRequest event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the aiAssistantCancelRequest event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
AiAssistantCancelRequest(System.Func)
Fired when the user cancels an ongoing AI request in AI Assistant mode.
For more information see AiAssistantCancelRequest event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Open(System.String)
Fired when the SmartBox popup opens.
For more information see Open event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the open event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Open(System.Func)
Fired when the SmartBox popup opens.
For more information see Open event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Close(System.String)
Fired when the SmartBox popup closes.
For more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Close(System.Func)
Fired when the SmartBox popup closes.
For more information see Close event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Focus(System.String)
Fired when the SmartBox input receives focus.
For more information see Focus event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the focus event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Focus(System.Func)
Fired when the SmartBox input receives focus.
For more information see Focus event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Blur(System.String)
Fired when the SmartBox input loses focus.
For more information see Blur event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the blur event.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.
Blur(System.Func)
Fired when the SmartBox input loses focus.
For more information see Blur event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
The current GridSmartBoxEventBuilder instance for method chaining.