@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
61 lines (60 loc) • 2.46 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
*-------------------------------------------------------------------------------------------
*/
/**
* Enum defining the available AI command types for grid operations.
* These commands control different aspects of grid functionality through AI prompts.
*
* @example
* ```tsx
* // Used internally when processing AI responses
* const command = {
* type: GridAICommands.GridSort,
* sort: { field: 'name', dir: 'asc' }
* };
* ```
*/
export declare enum GridAICommands {
/** Clears all applied filters from the grid */
GridClearFilter = "GridClearFilter",
/** Clears all applied sorting from the grid */
GridClearSort = "GridClearSort",
/** Clears all applied grouping from the grid */
GridClearGroup = "GridClearGroup",
/** Clears all applied highlighting from the grid */
GridClearHighlight = "GridClearHighlight",
/** Clears all applied selections from the grid */
GridClearSelect = "GridClearSelect",
/** Applies sorting to grid columns */
GridSort = "GridSort",
/** Applies filtering to grid data */
GridFilter = "GridFilter",
/** Applies grouping to grid data */
GridGroup = "GridGroup",
/** Applies highlighting to grid cells or rows */
GridHighlight = "GridHighlight",
/** Applies select to grid cells or rows */
GridSelect = "GridSelect",
/** Exports the grid data as a PDF document */
GridExportPDF = "GridExportPDF",
/** Resizes grid columns to specified dimensions */
GridColumnResize = "GridColumnResize",
/** Hides specified grid columns from view */
GridColumnHide = "GridColumnHide",
/** Shows previously hidden grid columns */
GridColumnShow = "GridColumnShow",
/** Reorders grid columns to new positions */
GridColumnReorder = "GridColumnReorder",
/** Locks grid columns to prevent horizontal scrolling */
GridColumnLock = "GridColumnLock",
/** Unlocks previously locked grid columns */
GridColumnUnlock = "GridColumnUnlock",
/** Navigates to a specific page number in the grid */
GridPage = "GridPage",
/** Changes the number of items displayed per page in the grid */
GridPageSize = "GridPageSize"
}