@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
46 lines (45 loc) • 1.73 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { GridSmartBoxHistoryProps } from './utilTypes.js';
export interface GridSmartBoxAIAssistantSearchProps {
/**
* Sets the settings for the history queries of all modes.
* When set to `true`, enables history with default settings for all modes.
* When set to `false`, disables history for all modes.
* When set to an object, configures the history settings for all modes.
* This shared setting overrides individual mode history settings (e.g., `searchConfig.history`).
*
* @example
* ```tsx
* // Enable history with default settings for all modes
* <SmartBox history={true} />
*
* // Disable history for all modes
* <SmartBox history={false} />
*
* // Configure history settings for all modes (overrides individual mode settings)
* <SmartBox history={{ size: 10, timestampFormat: 'HH:mm' }} />
* ```
*/
history?: boolean | GridSmartBoxHistoryProps;
/**
* Sets the placeholder text for the SmartBox input.
*/
placeholder?: string;
/**
* Specifies whether the mode is enabled.
*/
enabled?: boolean;
/**
* Sets the delay in milliseconds before triggering search.
*/
delay?: number;
}
export interface GridSmartBoxSearchProps extends GridSmartBoxAIAssistantSearchProps {
fields?: Array<string>;
}