import * as React from 'react'; import { Column, TableColumnWidthInfo } from '@devexpress/dx-react-grid'; // ------------------------------------------------------------------------------------------------- // ColumnChooser // ------------------------------------------------------------------------------------------------- import { ColumnChooser as ColumnChooserBase, } from '@devexpress/dx-react-grid'; export namespace ColumnChooser { /** Describes properties passed to a component that renders the column chooser overlay. */ export type OverlayProps = ColumnChooserBase.OverlayProps; } export namespace ColumnChooser { /** Describes properties passed to a component that renders the button that invokes the column chooser. */ export type ToggleButtonProps = ColumnChooserBase.ToggleButtonProps; } export namespace ColumnChooser { /** Describes properties passed to a component that renders the column chooser container. */ export type ContainerProps = ColumnChooserBase.ContainerProps; } export namespace ColumnChooser { /** Describes properties passed to a component that renders a column chooser item. */ export type ItemProps = ColumnChooserBase.ItemProps; } export interface ColumnChooserProps { /** A component that renders the column chooser overlay. */ overlayComponent?: React.ComponentType; /** A component that renders a button that invokes the column chooser. */ toggleButtonComponent?: React.ComponentType; /** A component that renders the column chooser container. */ containerComponent?: React.ComponentType; /** A component that renders a column chooser item. */ itemComponent?: React.ComponentType; /** An object that specifies localization messages. */ messages?: ColumnChooserBase.LocalizationMessages; } /** The ColumnChooser plugin allows a user to toggle grid columns' visibility at runtime. The column chooser lists columns with checkboxes that control a corresponding column's visibility. */ export declare const ColumnChooser: React.ComponentType & { /** A component that renders a button that invokes the column chooser. */ ToggleButton: React.ComponentType; /** A component that renders the column chooser overlay. */ Overlay: React.ComponentType; /** A component that renders the column chooser container. */ Container: React.ComponentType; /** A component that renders a column chooser item. */ Item: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // DragDropProvider // ------------------------------------------------------------------------------------------------- import { DragDropProvider as DragDropProviderBase, } from '@devexpress/dx-react-grid'; export namespace DragDropProvider { /** Describes properties of the component that renders a container for columns being dragged. */ export type ContainerProps = DragDropProviderBase.ContainerProps; } export namespace DragDropProvider { /** Describes properties of the component that renders a column being dragged. */ export type ColumnProps = DragDropProviderBase.ColumnProps; } export interface DragDropProviderProps { /** A component that renders a container for columns being dragged. */ containerComponent?: React.ComponentType; /** A component that renders a column being dragged. */ columnComponent?: React.ComponentType; } /** A plugin that implements the drag-and-drop functionality and visualizes columns that are being dragged. */ export declare const DragDropProvider: React.ComponentType & { /** A component that renders a container for columns being dragged. */ Container: React.ComponentType; /** A component that renders a column being dragged. */ Column: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // ExportPanel // ------------------------------------------------------------------------------------------------- import { ExportPanel as ExportPanelBase, } from '@devexpress/dx-react-grid'; export namespace ExportPanel { /** Properties passed to the `toggleButtonComponent`. */ export type ToggleButtonProps = ExportPanelBase.ToggleButtonProps; } export namespace ExportPanel { /** Properties passed to the `menuComponent`. */ export type MenuProps = ExportPanelBase.MenuProps; } export namespace ExportPanel { /** Properties passed to the `menuItemComponent`. */ export type MenuItemProps = ExportPanelBase.MenuItemProps; } export interface ExportPanelProps { /** A component that renders a button that opens the export menu. */ toggleButtonComponent?: React.ComponentType; /** A component that renders the export menu. */ menuComponent?: React.ComponentType; /** A component that renders a menu item. */ menuItemComponent?: React.ComponentType; /** A function that initiates the export. */ startExport?: (options: object) => void; /** Localization messages. */ messages?: ExportPanelBase.LocalizationMessages; } /** A plugin that renders the Export Panel. */ export declare const ExportPanel: React.ComponentType & { /** A component that renders a button that opens the export menu. */ ToggleButton: React.ComponentType; /** A component that renders the export menu. */ Menu: React.ComponentType; /** A component that renders a menu item. */ MenuItem: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // Grid // ------------------------------------------------------------------------------------------------- import { Grid as GridBase, } from '@devexpress/dx-react-grid'; export namespace Grid { /** Describes properties passed to a component that renders the grid root layout. */ export type RootProps = GridBase.RootProps; } export interface GridProps { /** An array containing custom data. A user defines the access to this data. Refer to Data Accessors for details. */ rows: ReadonlyArray; /** Specifies for which row fields columns are created. */ columns: ReadonlyArray; /** Specifies the function used to get a unique row identifier. Define this function if the identifier is different than the row index. */ getRowId?: (row: any) => number | string; /** Specifies the function used to get a cell's value. */ getCellValue?: (row: any, columnName: string) => any; /** A component that renders the grid root layout. */ rootComponent?: React.ComponentType; /** A React node used to render the grid content. */ children?: React.ReactNode; } /** The Grid is a root container component designed to process and display data specified via the `rows` property. You can use the `columns` property to configure columns.The Grid's functionality is implemented in several plugins specified as child components.The Grid is a PluginHost and can contain only other plugins and plugin primitives. */ export declare const Grid: React.ComponentType & { /** A component that renders the grid root layout. */ Root: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // GroupingPanel // ------------------------------------------------------------------------------------------------- import { GroupingPanel as GroupingPanelBase, } from '@devexpress/dx-react-grid'; export namespace GroupingPanel { /** Describes properties passed to a component that renders a group panel container. */ export type ContainerProps = GroupingPanelBase.ContainerProps; } export namespace GroupingPanel { /** Describes properties passed to a group panel item template when it is being rendered. */ export type ItemProps = GroupingPanelBase.ItemProps; } export namespace GroupingPanel { /** Describes properties passed to a component that renders an empty group panel message. */ export type EmptyMessageProps = GroupingPanelBase.EmptyMessageProps; } export interface GroupingPanelProps { /** Specifies whether to render controls that toggle the column's sorting state. Requires the SortingState dependency. */ showSortingControls?: boolean; /** Specifies whether column headers display a button that cancels grouping by that column. */ showGroupingControls?: boolean; /** A component that renders a group panel container. */ containerComponent?: React.ComponentType; /** A component that renders a group panel item. */ itemComponent?: React.ComponentType; /** A component that renders an empty group panel message. */ emptyMessageComponent?: React.ComponentType; /** An object that specifies the localization messages. */ messages?: GroupingPanelBase.LocalizationMessages; } /** A plugin that renders the Grouping Panel in the Grid's header. This panel displays grouped columns and allows a user to modify grouping options.Optionally, the plugin allows an end-user to change grouped columns' sorting order and render sorting indicators. */ export declare const GroupingPanel: React.ComponentType & { /** A component that renders a grouping panel container. */ Container: React.ComponentType; /** A component that renders a grouping panel item. */ Item: React.ComponentType; /** A component that renders an empty grouping panel message. */ EmptyMessage: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // PagingPanel // ------------------------------------------------------------------------------------------------- import { PagingPanel as PagingPanelBase, } from '@devexpress/dx-react-grid'; export namespace PagingPanel { /** Describes the container component properties. */ export type ContainerProps = PagingPanelBase.ContainerProps; } export interface PagingPanelProps { /** A component that renders the paging panel. */ containerComponent?: React.ComponentType; /** The page sizes that a user can select. */ pageSizes?: Array; /** An object that specifies the localization messages. */ messages?: PagingPanelBase.LocalizationMessages; } /** A plugin that renders the paging panel used for navigation through data pages. The panel occupies the entire Grid footer. */ export declare const PagingPanel: React.ComponentType & { /** A component that renders the paging panel. */ Container: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // SearchPanel // ------------------------------------------------------------------------------------------------- import { SearchPanel as SearchPanelBase, } from '@devexpress/dx-react-grid'; export namespace SearchPanel { /** Describes properties passed to a component that renders the Search Panel root element. */ export type InputProps = SearchPanelBase.InputProps; } export interface SearchPanelProps { /** A component that renders the Search Panel input element. */ inputComponent?: React.ComponentType; /** An object that specifies localization messages. */ messages?: SearchPanelBase.LocalizationMessages; } /** A plugin that renders the Search Panel. */ export declare const SearchPanel: React.ComponentType & { /** A component that renders the Search Panel input element. */ Input: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableBandHeader // ------------------------------------------------------------------------------------------------- import { TableBandHeader as TableBandHeaderBase, } from '@devexpress/dx-react-grid'; export namespace TableBandHeader { /** Describes properties passed to a component that renders a table band cell. */ export type CellProps = TableBandHeaderBase.CellProps; } export namespace TableBandHeader { /** Describes properties of column bands that the TableBandHeader plugin renders. */ export type ColumnBands = TableBandHeaderBase.ColumnBands; } export interface TableBandHeaderProps { /** A component that renders a band cell. */ cellComponent?: React.ComponentType; /** A component that renders a band cells' row. */ rowComponent?: React.ComponentType; /** Specifies column bands for multi-level table header. */ columnBands?: Array; } /** A plugin that renders the banded cells. */ export declare const TableBandHeader: React.ComponentType & { /** The band row type's identifier. */ ROW_TYPE: symbol; } & { /** A component that renders a band cell. */ Cell: React.ComponentType; /** A component that renders a band cells' row. */ Row: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableColumnReordering // ------------------------------------------------------------------------------------------------- import { TableColumnReordering as TableColumnReorderingBase, } from '@devexpress/dx-react-grid'; export interface TableColumnReorderingProps { /** The column order. */ order?: Array; /** The initial column order in the uncontrolled mode. */ defaultOrder?: Array; /** Handles changes to the column order. */ onOrderChange?: (nextOrder: Array) => void; } /** A plugin that manages the displayed columns' order. */ export declare const TableColumnReordering: React.ComponentType; // ------------------------------------------------------------------------------------------------- // TableColumnResizing // ------------------------------------------------------------------------------------------------- import { TableColumnResizing as TableColumnResizingBase, } from '@devexpress/dx-react-grid'; export namespace TableColumnResizing { /** Describes additional column properties that the plugin can handle. */ export type ColumnExtension = TableColumnResizingBase.ColumnExtension; } export interface TableColumnResizingProps { /** Specifies column widths. */ columnWidths?: Array; /** Specifies a column's minimum width. */ minColumnWidth?: number; /** Specifies a column's maximum width. */ maxColumnWidth?: number; /** Specifies initial column widths in uncontrolled mode. */ defaultColumnWidths?: Array; /** Handles column width changes. */ onColumnWidthsChange?: (nextColumnWidths: Array) => void; /** Additional column properties that the plugin can handle. */ columnExtensions?: Array; /** Specifies the resizing mode: `widget` or `nextColumn`. In `widget` mode, `auto` and percentage values cannot be used to specify column widths. */ resizingMode?: string; } /** A plugin that manages table column widths. */ export declare const TableColumnResizing: React.ComponentType; // ------------------------------------------------------------------------------------------------- // TableColumnVisibility // ------------------------------------------------------------------------------------------------- import { TableColumnVisibility as TableColumnVisibilityBase, } from '@devexpress/dx-react-grid'; export namespace TableColumnVisibility { /** Describes the empty message component's properties. */ export type EmptyMessageProps = TableColumnVisibilityBase.EmptyMessageProps; } export namespace TableColumnVisibility { /** Describes additional column properties that the plugin can handle. */ export type ColumnExtension = TableColumnVisibilityBase.ColumnExtension; } export interface TableColumnVisibilityProps { /** Hidden column names. */ hiddenColumnNames?: Array; /** Names of initially hidden columns in the uncontrolled mode. */ defaultHiddenColumnNames?: Array; /** Specifies whether an end-user can change column visibility. */ columnTogglingEnabled?: boolean; /** Additional column properties that the plugin can handle. */ columnExtensions?: Array; /** Handles hidden columns adding or removing. */ onHiddenColumnNamesChange?: (hiddenColumnNames: Array) => void; /** A component that renders a message that is displayed when all columns are hidden. */ emptyMessageComponent?: React.ComponentType; /** An object that specifies localization messages. */ messages?: TableColumnVisibilityBase.LocalizationMessages; } /** A plugin that manages Grid columns' visibility. */ export declare const TableColumnVisibility: React.ComponentType & { /** A component that renders a message displayed when all columns are hidden. */ EmptyMessage: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableEditColumn // ------------------------------------------------------------------------------------------------- import { TableEditColumn as TableEditColumnBase, } from '@devexpress/dx-react-grid'; export namespace TableEditColumn { /** Describes properties passed to a data row's command cell component. */ export type CellProps = TableEditColumnBase.CellProps; } export namespace TableEditColumn { /** Describes properties passed to a component that renders a command cell within the header row. */ export type HeaderCellProps = TableEditColumnBase.HeaderCellProps; } export namespace TableEditColumn { /** Describes properties passed to a component that renders command control within a command cell. */ export type CommandProps = TableEditColumnBase.CommandProps; } export interface TableEditColumnProps { /** A component that renders a command cell within a data row. */ cellComponent?: React.ComponentType; /** A component that renders a command cell within the header row. */ headerCellComponent?: React.ComponentType; /** A component that renders command control within a command cell. */ commandComponent?: React.ComponentType; /** Specifies whether to render the 'New' command within the header row's command cell. */ showAddCommand?: boolean; /** Specifies whether to render the 'Edit' command within the data row's command cell. */ showEditCommand?: boolean; /** Specifies whether to render the 'Delete' command within the data row's command cell. */ showDeleteCommand?: boolean; /** Specifies the command column's width. */ width?: number | string; /** An object that specifies the localization messages. */ messages?: TableEditColumnBase.LocalizationMessages; } /** A plugin that renders a command column. This column contains controls used for row editing, creating, or deleting and committing/canceling changes. */ export declare const TableEditColumn: React.ComponentType & { /** The edit column type's identifier. */ COLUMN_TYPE: symbol; } & { /** A component that renders a command control within a command cell. */ Command: React.ComponentType; /** A component that renders a command cell within a data row. */ Cell: React.ComponentType; /** A component that renders a command cell within the header row. */ HeaderCell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableEditRow // ------------------------------------------------------------------------------------------------- import { TableEditRow as TableEditRowBase, } from '@devexpress/dx-react-grid'; export namespace TableEditRow { /** Describes properties passed to a component that renders an editable cell. */ export type CellProps = TableEditRowBase.CellProps; } export namespace TableEditRow { /** Describes properties passed to a component that renders an editable row. */ export type RowProps = TableEditRowBase.RowProps; } export interface TableEditRowProps { /** A component that renders an editable cell. */ cellComponent?: React.ComponentType; /** A component that renders an editable row. */ rowComponent?: React.ComponentType; /** Specifies the editable row's height. */ rowHeight?: number; } /** A plugin that renders a row being edited. */ export declare const TableEditRow: React.ComponentType & { /** The added row type's identifier. */ ADDED_ROW_TYPE: symbol; /** The edit row type's identifier. */ EDIT_ROW_TYPE: symbol; } & { /** A component that renders an editable cell. */ Cell: React.ComponentType; /** A component that renders an editable row. */ Row: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableFilterRow // ------------------------------------------------------------------------------------------------- import { TableFilterRow as TableFilterRowBase, } from '@devexpress/dx-react-grid'; export namespace TableFilterRow { /** Describes properties passed to a component that renders a filter cell. */ export type CellProps = TableFilterRowBase.CellProps; } export namespace TableFilterRow { /** Describes properties passed to a component that renders a filter selector. */ export type FilterSelectorProps = TableFilterRowBase.FilterSelectorProps; } export namespace TableFilterRow { /** Describes properties passed to a component that renders a filter selector icon. */ export type IconProps = TableFilterRowBase.IconProps; } export namespace TableFilterRow { /** Describes properties passed to a component that renders a filter editor. */ export type EditorProps = TableFilterRowBase.EditorProps; } export namespace TableFilterRow { /** Describes properties passed to a component that renders a toggle button for a filter selector. */ export type ToggleButtonProps = TableFilterRowBase.ToggleButtonProps; } export interface TableFilterRowProps { /** A component that renders a filter cell. */ cellComponent?: React.ComponentType; /** A component that renders a filter row. */ rowComponent?: React.ComponentType; /** A component that renders a filter selector. */ filterSelectorComponent?: React.ComponentType; /** A component that renders filter selector icons. */ iconComponent?: React.ComponentType; /** A component that renders a filter editor. */ editorComponent?: React.ComponentType; /** A component that renders a filter selector's toggle button. */ toggleButtonComponent?: React.ComponentType; /** Specifies whether the FilterSelector should be displayed. */ showFilterSelector?: boolean; /** The filter row's height. */ rowHeight?: number; /** An object that specifies localization messages. */ messages?: TableFilterRowBase.LocalizationMessages; } /** A plugin that renders a filter row. */ export declare const TableFilterRow: React.ComponentType & { /** The filter row type's identifier. */ ROW_TYPE: symbol; } & { /** A component that renders a filter row cell. */ Cell: React.ComponentType; /** A component that renders a filter row. */ Row: React.ComponentType; /** A component that renders a filter selector. */ FilterSelector: React.ComponentType; /** A component that renders filter selector icons. */ Icon: React.ComponentType; /** A component that renders a filter editor. */ Editor: React.ComponentType; /** A component that renders a filter selector's toggle button. */ ToggleButton: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableFixedColumns // ------------------------------------------------------------------------------------------------- import { TableFixedColumns as TableFixedColumnsBase, } from '@devexpress/dx-react-grid'; export namespace TableFixedColumns { /** Describes properties passed to a component that renders a fixed column's cell. */ export type CellProps = TableFixedColumnsBase.CellProps; } export interface TableFixedColumnsProps { /** Specifies names and types of the columns to be fixed to the left grid's side. */ leftColumns?: Array; /** Specifies names and types of the columns to be fixed to the right grid's side. */ rightColumns?: Array; /** A component that renders a fixed column's cell. */ cellComponent?: React.ComponentType; } /** A plugin that enables you to fix columns to the left and right sides of the grid. */ export declare const TableFixedColumns: React.ComponentType & { /** A component that renders a cell related to a fixed column. */ Cell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableGroupRow // ------------------------------------------------------------------------------------------------- import { TableGroupRow as TableGroupRowBase, } from '@devexpress/dx-react-grid'; export namespace TableGroupRow { /** Describes additional column properties that the plugin can handle. */ export type ColumnExtension = TableGroupRowBase.ColumnExtension; } export namespace TableGroupRow { /** Describes a summary item to be displayed in a group caption. */ export type InlineSummaryItemInfo = TableGroupRowBase.InlineSummaryItemInfo; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a group cell. */ export type CellProps = TableGroupRowBase.CellProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a group row. */ export type RowProps = TableGroupRowBase.RowProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a group cell content. */ export type ContentProps = TableGroupRowBase.ContentProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a group expand icon. */ export type IconProps = TableGroupRowBase.IconProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a group indent cell. */ export type IndentCellProps = TableGroupRowBase.IndentCellProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a container for summary items to be displayed in a group caption. */ export type InlineSummaryProps = TableGroupRowBase.InlineSummaryProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a summary item in a group caption. */ export type InlineSummaryItemProps = TableGroupRowBase.InlineSummaryItemProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a cell for a summary item in an appropriate column. */ export type SummaryCellProps = TableGroupRowBase.SummaryCellProps; } export namespace TableGroupRow { /** Describes properties passed to a component that renders a stub cell used to align summary items in their columns. */ export type StubCellProps = TableGroupRowBase.StubCellProps; } export interface TableGroupRowProps { /** A Boolean value that specifies whether the grid's table displays a column by which data is grouped. */ showColumnsWhenGrouped?: boolean; /** Additional column properties that the plugin can handle. */ columnExtensions?: Array; /** A component that renders a group cell. */ cellComponent?: React.ComponentType; /** A component that renders a group row. */ rowComponent?: React.ComponentType; /** A component that renders a group cell content. */ contentComponent?: React.ComponentType; /** A component that renders a group expand icon. */ iconComponent?: React.ComponentType; /** A component that renders a group indent cell. */ indentCellComponent?: React.ComponentType; /** A component that renders a container for group summary items in a group caption. */ inlineSummaryComponent?: React.ComponentType; /** A component that renders a single group summary item in a group caption. */ inlineSummaryItemComponent?: React.ComponentType; /** A component that renders a cell for a group summary item in an appropriate column. */ summaryCellComponent?: React.ComponentType; /** A component that renders a group summary item in its column. */ summaryItemComponent?: React.ComponentType; /** A component that renders a stub cell used to align summary items in their columns. */ stubCellComponent?: React.ComponentType; /** Summary types that the `DataTypeProvider` plugin should not format. */ formatlessSummaryTypes?: Array; /** Localization messages. */ messages?: TableGroupRowBase.LocalizationMessages; /** The group indent column's width. */ indentColumnWidth?: number; /** The group cell's left padding value. */ contentCellPadding?: string; } /** A plugin that renders group rows and enables them to expand and collapse. */ export declare const TableGroupRow: React.ComponentType & { /** The group column type's identifier. */ COLUMN_TYPE: symbol; /** The group row type's identifier. */ ROW_TYPE: symbol; } & { /** A component that renders a group row. */ Row: React.ComponentType; /** A component that renders a group cell. */ Cell: React.ComponentType; /** A component that renders a group cell content. */ Content: React.ComponentType; /** A component that renders a group expand icon. */ Icon: React.ComponentType; /** A component that renders a container for group summary items in a group caption. */ InlineSummary: React.ComponentType; /** A component that renders a single group summary item in a group caption. */ InlineSummaryItem: React.ComponentType; /** A component that renders a cell for a group summary item in an appropriate column. */ SummaryCell: React.ComponentType; /** A component that renders a group summary item in its column. */ SummaryItem: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableHeaderRow // ------------------------------------------------------------------------------------------------- import { TableHeaderRow as TableHeaderRowBase, } from '@devexpress/dx-react-grid'; export namespace TableHeaderRow { /** Describes properties used to render a table header cell. */ export type CellProps = TableHeaderRowBase.CellProps; } export namespace TableHeaderRow { /** Describes properties used to render a sort label. */ export type SortLabelProps = TableHeaderRowBase.SortLabelProps; } export namespace TableHeaderRow { /** Describes properties used to render a cell content. */ export type ContentProps = TableHeaderRowBase.ContentProps; } export namespace TableHeaderRow { /** Describes properties used to render a group button. */ export type GroupButtonProps = TableHeaderRowBase.GroupButtonProps; } export interface TableHeaderRowProps { /** A component that renders a header cell. */ cellComponent?: React.ComponentType; /** A component that renders a header row. */ rowComponent?: React.ComponentType; /** A component that renders a header cell's content. */ contentComponent?: React.ComponentType; /** A component that renders a sort label. */ sortLabelComponent?: React.ComponentType; /** A component that renders a title. */ titleComponent?: React.ComponentType; /** A component that renders a group button. */ groupButtonComponent?: React.ComponentType; /** Specifies whether to render controls that toggle the column's sorting state. Requires the SortingState dependency. */ showSortingControls?: boolean; /** Specifies whether to display a button that groups data by column. Requires the GroupingState dependency. */ showGroupingControls?: boolean; /** An object that specifies localization messages. */ messages?: TableHeaderRowBase.LocalizationMessages; } /** A plugin that renders the table's header row. The Column's `title` field specifies the column's title in the header row.The plugin also allows you to manage a column's sorting and grouping state and initiate column dragging. */ export declare const TableHeaderRow: React.ComponentType & { /** The header row type's identifier. */ ROW_TYPE: symbol; } & { /** A component that renders a header row. */ Row: React.ComponentType; /** A component that renders a header cell. */ Cell: React.ComponentType; /** A component that renders a cell content. */ Content: React.ComponentType; /** A component that renders a sort label. */ SortLabel: React.ComponentType; /** A component that renders a title. */ Title: React.ComponentType; /** A component that renders a group button. */ GroupButton: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableInlineCellEditing // ------------------------------------------------------------------------------------------------- import { TableInlineCellEditing as TableInlineCellEditingBase, } from '@devexpress/dx-react-grid'; export namespace TableInlineCellEditing { /** Describes properties passed to a component that renders an editable cell. */ export type CellProps = TableInlineCellEditingBase.CellProps; } export interface TableInlineCellEditingProps { /** A component that renders an editable cell. */ cellComponent?: React.ComponentType; /** The action that switches a cell to edit mode. */ startEditAction?: 'click' | 'doubleClick'; /** Specifies whether cell value should be selected when the cell switches to edit mode. */ selectTextOnEditStart?: boolean; } /** A plugin that renders a cell being edited. */ export declare const TableInlineCellEditing: React.ComponentType & { /** A component that renders an editable cell. */ Cell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableKeyboardNavigation // ------------------------------------------------------------------------------------------------- import { TableKeyboardNavigation as TableKeyboardNavigationBase, } from '@devexpress/dx-react-grid'; export namespace TableKeyboardNavigation { /** Properties passed to the `cellComponent`. */ export type CellProps = TableKeyboardNavigationBase.CellProps; } export namespace TableKeyboardNavigation { /** Properties passed to the `rowComponent` */ export type RowProps = TableKeyboardNavigationBase.RowProps; } export interface TableKeyboardNavigationProps { /** Defines a cell that should be initially focused in uncontrolled mode. */ defaultFocusedCell?: { rowKey: string, columnKey: string }; /** Defines a cell that should be focused. */ focusedCell?: { rowKey: string, columnKey: string }; /** A function that is executed when a cell gets focus. */ onFocusedCellChange?: (focusedCell: { rowKey: string, columnKey: string }) => void; /** A component that renders the focused cell. */ cellComponent?: React.ComponentType; /** A component that renders the row that contains the focused cell. */ rowComponent?: React.ComponentType; /** Specifies whether a row should be focused when one of its cells is focused. */ focusedRowEnabled?: boolean; } /** A plugin that visualizes a focused table cell. */ export declare const TableKeyboardNavigation: React.ComponentType & { /** A component that renders the focused cell. */ Cell: React.ComponentType; /** A component that renders the focused row. */ Row: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableRowDetail // ------------------------------------------------------------------------------------------------- import { TableRowDetail as TableRowDetailBase, } from '@devexpress/dx-react-grid'; export namespace TableRowDetail { /** Describes properties passed to a component that renders a detail row's content. */ export type ContentProps = TableRowDetailBase.ContentProps; } export namespace TableRowDetail { /** Describes properties passed to a component that renders a detail cell. */ export type CellProps = TableRowDetailBase.CellProps; } export namespace TableRowDetail { /** Describes properties passed to a component that renders a detail row. */ export type RowProps = TableRowDetailBase.RowProps; } export namespace TableRowDetail { /** Describes properties passed to a component that renders a cell containing the expand/collapse control. */ export type ToggleCellProps = TableRowDetailBase.ToggleCellProps; } export interface TableRowDetailProps { /** A component that renders the detail row's content within the detail cell. */ contentComponent?: React.ComponentType; /** A component that renders a detail cell. */ cellComponent?: React.ComponentType; /** A component that renders a detail row. */ rowComponent?: React.ComponentType; /** A component that renders a cell containing the expand/collapse control. */ toggleCellComponent?: React.ComponentType; /** Specifies the width of the column containing expand/collapse controls. */ toggleColumnWidth?: number; /** Specifies the detail row height. */ rowHeight?: number; } /** A plugin that renders detail rows. */ export declare const TableRowDetail: React.ComponentType & { /** The detail column type's identifier. */ COLUMN_TYPE: symbol; /** The detail row type's indentifier. */ ROW_TYPE: symbol; } & { /** A component that renders a detail cell. */ Cell: React.ComponentType; /** A component that renders a detail row. */ Row: React.ComponentType; /** A component that renders a cell containing the expand/collapse control. */ ToggleCell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableSelection // ------------------------------------------------------------------------------------------------- import { TableSelection as TableSelectionBase, } from '@devexpress/dx-react-grid'; export namespace TableSelection { /** Describes properties passed to a component that renders a cell containing the Select All checkbox. */ export type HeaderCellProps = TableSelectionBase.HeaderCellProps; } export namespace TableSelection { /** Describes properties passed to a component that renders a cell containing a selection checkbox. */ export type CellProps = TableSelectionBase.CellProps; } export namespace TableSelection { /** Properties passed to the `rowComponent`. */ export type RowProps = TableSelectionBase.RowProps; } export interface TableSelectionProps { /** Specifies whether to highlight the selected rows. Note that `Table` plugin's `rowComponent` is ignored in this case. */ highlightRow?: boolean; /** Specifies whether a user can select/deselect a row by clicking it. Note that `Table` plugin's `rowComponent` is ignored in this case. */ selectByRowClick?: boolean; /** Specifies whether to render the Select All checkbox in the header row. */ showSelectAll?: boolean; /** Specifies whether to render the selection column that displays selection checkboxes. */ showSelectionColumn?: boolean; /** A component that renders a selection cell . */ cellComponent?: React.ComponentType; /** A component that renders a cell containing the Select All checkbox. */ headerCellComponent?: React.ComponentType; /** A component that renders a selected row. It is used instead of TableBase.Row when `highlightRow` or `selectByRowClick` is enabled. */ rowComponent?: React.ComponentType; /** The selection column's width. */ selectionColumnWidth?: number; } /** A plugin that visualizes table rows' selection state by rendering selection checkboxes and highlighting the selected rows. */ export declare const TableSelection: React.ComponentType & { /** The selection column type's indentifier. */ COLUMN_TYPE: symbol; } & { /** A component that renders a cell with the selection control inside the heading row. */ HeaderCell: React.ComponentType; /** A component that renders a cell with selection control. */ Cell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableSummaryRow // ------------------------------------------------------------------------------------------------- import { TableSummaryRow as TableSummaryRowBase, } from '@devexpress/dx-react-grid'; export namespace TableSummaryRow { /** Describes properties passed to a component that renders a cell in a summary row. */ export type CellProps = TableSummaryRowBase.CellProps; } export namespace TableSummaryRow { /** Describes properties passed to a component that renders a cell's content. */ export type ContentProps = TableSummaryRowBase.ContentProps; } export namespace TableSummaryRow { /** Describes properties passed to a component that renders an indent used to identify a row's level. */ export type IndentProps = TableSummaryRowBase.IndentProps; } export namespace TableSummaryRow { /** Describes properties passed to a component that renders a summary item. */ export type ItemProps = TableSummaryRowBase.ItemProps; } export interface TableSummaryRowProps { /** An array of summary types that the `DataTypeProvider` plugin should not format. */ formatlessSummaryTypes?: Array; /** A component that renders the total summary row. */ totalRowComponent?: React.ComponentType; /** A component that renders a group summary row. */ groupRowComponent?: React.ComponentType; /** A component that renders a tree summary row. */ treeRowComponent?: React.ComponentType; /** A component that renders a total summary cell. */ totalCellComponent?: React.ComponentType; /** A component that renders a group summary cell. */ groupCellComponent?: React.ComponentType; /** A component that renders a tree summary cell. */ treeCellComponent?: React.ComponentType; /** A component that renders a summary cell within a tree column. */ treeColumnCellComponent?: React.ComponentType; /** A component that renders a summary cell's content within a tree column. */ treeColumnContentComponent?: React.ComponentType; /** A component that renders an indent used to identify a tree row level within a tree column. */ treeColumnIndentComponent?: React.ComponentType; /** A component that renders a summary item. */ itemComponent?: React.ComponentType; /** An object that specifies localization messages. */ messages?: TableSummaryRowBase.LocalizationMessages; } /** A plugin that renders table rows that display a total, group, and tree summary. */ export declare const TableSummaryRow: React.ComponentType & { /** The tree summary row type's indentifier. */ TREE_ROW_TYPE: symbol; /** The group summary row type's indentifier. */ GROUP_ROW_TYPE: symbol; /** The total row type's indentifier. */ TOTAL_ROW_TYPE: symbol; } & { /** A component that renders a cell within a data row. */ Cell: React.ComponentType; /** A component that renders the total summary row. */ TotalRow: React.ComponentType; /** A component that renders a group summary row. */ GroupRow: React.ComponentType; /** A component that renders a tree summary row. */ TreeRow: React.ComponentType; /** A component that renders a total summary cell. */ TotalCell: React.ComponentType; /** A component that renders a group summary cell. */ GroupCell: React.ComponentType; /** A component that renders a tree summary cell. */ TreeCell: React.ComponentType; /** A component that renders a summary cell within a tree column. */ TreeColumnCell: React.ComponentType; /** A component that renders a summary cell's content within a tree column. */ TreeColumnContent: React.ComponentType; /** A component that renders an indent used to identify a tree row's level in a tree column. */ TreeColumnIndent: React.ComponentType; /** A component that renders a summary item. */ Item: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // TableTreeColumn // ------------------------------------------------------------------------------------------------- import { TableTreeColumn as TableTreeColumnBase, } from '@devexpress/dx-react-grid'; export namespace TableTreeColumn { /** Describes properties passed to a component that renders a cell within a data row. */ export type CellProps = TableTreeColumnBase.CellProps; } export namespace TableTreeColumn { /** Describes properties passed to a component that renders a cell's content. */ export type ContentProps = TableTreeColumnBase.ContentProps; } export namespace TableTreeColumn { /** Describes properties passed to a component that renders an indent used to identify a row level. */ export type IndentProps = TableTreeColumnBase.IndentProps; } export namespace TableTreeColumn { /** Describes properties passed to a component that renders a button used to controls a row's expanded state. */ export type ExpandButtonProps = TableTreeColumnBase.ExpandButtonProps; } export namespace TableTreeColumn { /** Describes properties passed to a component that renders a checkbox used to control selection. */ export type CheckboxProps = TableTreeColumnBase.CheckboxProps; } export interface TableTreeColumnProps { /** The name of a column that should be represented as a tree. */ for?: string; /** A component that renders a cell within a data row. */ cellComponent?: React.ComponentType; /** A component that renders a cell's content. */ contentComponent?: React.ComponentType; /** A component that renders an indent used to identify a row level. */ indentComponent?: React.ComponentType; /** A component that renders a button that controls the row's expanded state. */ expandButtonComponent?: React.ComponentType; /** A component that renders a checkbox used to control selection. */ checkboxComponent?: React.ComponentType; /** Specifies whether to render selection controls. Requires the SelectionState plugin. */ showSelectionControls?: boolean; /** Specifies whether to render Select All checkbox. Requires the IntegratedSelection plugin. */ showSelectAll?: boolean; } /** A plugin that renders a table column with a toggle button and sorting indicators. */ export declare const TableTreeColumn: React.ComponentType & { /** A component that renders a cell within a data row. */ Cell: React.ComponentType; /** A component that renders a cell's content. */ Content: React.ComponentType; /** A component that renders an indent used to identify a row level. */ Indent: React.ComponentType; /** A component that renders a button used to controls a row's expanded state. */ ExpandButton: React.ComponentType; /** A component that renders a checkbox used to control selection. */ Checkbox: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // Table // ------------------------------------------------------------------------------------------------- import { Table as TableBase, } from '@devexpress/dx-react-grid'; export namespace Table { /** Describes additional column properties that the plugin can handle. */ export type ColumnExtension = TableBase.ColumnExtension; } export namespace Table { /** Describes properties passed to a component that renders a generic table cell. */ export type CellProps = TableBase.CellProps; } export namespace Table { /** Describes properties passed to a component that renders a table cell. */ export type DataCellProps = TableBase.DataCellProps; } export namespace Table { /** Describes properties passed to a component that renders a table cell when the table is empty. */ export type NoDataCellProps = TableBase.NoDataCellProps; } export namespace Table { /** Describes properties passed to a component that renders a generic table row. */ export type RowProps = TableBase.RowProps; } export namespace Table { /** Describes properties passed to a component that renders a table row. */ export type DataRowProps = TableBase.DataRowProps; } export interface TableProps { /** Additional column properties that the plugin can handle. */ columnExtensions?: Array; /** A component that renders a table. */ tableComponent?: React.ComponentType; /** A component that renders a table head. */ headComponent?: React.ComponentType; /** A component that renders a table body. */ bodyComponent?: React.ComponentType; /** A component that renders a table footer. */ footerComponent?: React.ComponentType; /** A component that renders a table's container. */ containerComponent?: React.ComponentType; /** A component that renders a table cell. */ cellComponent?: React.ComponentType; /** A component that renders a table row. */ rowComponent?: React.ComponentType; /** A component that renders a table cell when the table is empty. */ noDataCellComponent?: React.ComponentType; /** A component that renders a table row when the table is empty. */ noDataRowComponent?: React.ComponentType; /** A component that renders a stub table row if the row type is not recognized. */ stubRowComponent?: React.ComponentType; /** A component that renders a stub table cell if the cell value is not provided. */ stubCellComponent?: React.ComponentType; /** A component that renders a stub header cell if the cell value is not provided. */ stubHeaderCellComponent?: React.ComponentType; /** An object that specifies the localization messages. */ messages?: TableBase.LocalizationMessages; } /** A plugin that renders Grid data as a table. This plugin enables you to customize table rows and columns, and contains the Table Row and Table Cell components that can be extended by other plugins */ export declare const Table: React.ComponentType & { /** The data column type's indentifier. */ COLUMN_TYPE: symbol; /** The data row type's indentifier. */ ROW_TYPE: symbol; /** The nodata row type's indentifier. */ NODATA_ROW_TYPE: symbol; } & { /** A component that renders a table. */ Table: React.ComponentType; /** A component that renders a table head. */ TableHead: React.ComponentType; /** A component that renders a table body. */ TableBody: React.ComponentType; /** A component that renders a table's container. */ Container: React.ComponentType; /** A component that renders a table data cell. */ Cell: React.ComponentType; /** A component that renders a table data row. */ Row: React.ComponentType; /** A component that renders a table cell when the table is empty. */ NoDataCell: React.ComponentType; /** A component that renders a table row when the table is empty. */ NoDataRow: React.ComponentType; /** A component that renders a stub table row. */ StubRow: React.ComponentType; /** A component that renders a stub table cell. */ StubCell: React.ComponentType; /** A component that renders a stub table header cell. */ StubHeaderCell: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // Toolbar // ------------------------------------------------------------------------------------------------- import { Toolbar as ToolbarBase, } from '@devexpress/dx-react-grid'; export namespace Toolbar { /** Describes properties passed to a component that renders the toolbar root element. */ export type RootProps = ToolbarBase.RootProps; } export interface ToolbarProps { /** A component that renders the toolbar root element. */ rootComponent?: React.ComponentType; } /** A plugin that renders the Grid toolbar. */ export declare const Toolbar: React.ComponentType & { /** A component that renders the toolbar root element. */ Root: React.ComponentType; }; // ------------------------------------------------------------------------------------------------- // VirtualTable // ------------------------------------------------------------------------------------------------- import { VirtualTable as VirtualTableBase, } from '@devexpress/dx-react-grid'; export namespace VirtualTable { /** Describes additional column properties that the plugin can handle. */ export type ColumnExtension = VirtualTableBase.ColumnExtension; } export interface VirtualTableProps { /** The virtual table's height. */ height?: number | string; /** Estimated row height. Specify the average value for a table whose rows have different heights. */ estimatedRowHeight?: number; /** Additional column properties that the plugin can handle. */ columnExtensions?: Array; /** A component that renders a table. */ tableComponent?: React.ComponentType; /** A component that renders a table head. */ headComponent?: React.ComponentType; /** A component that renders a table body. */ bodyComponent?: React.ComponentType; /** A component that renders a table footer. */ footerComponent?: React.ComponentType; /** A component that renders a table's container. */ containerComponent?: React.ComponentType; /** A component that renders a table cell. */ cellComponent?: React.ComponentType; /** A component that renders a table row. */ rowComponent?: React.ComponentType; /** A component that renders a table cell when the table is empty. */ noDataCellComponent?: React.ComponentType; /** A component that renders a table row when the table is empty. */ noDataRowComponent?: React.ComponentType; /** A component that renders a stub table row if the row type is not recognized. */ stubRowComponent?: React.ComponentType; /** A component that renders a stub table cell if the cell value is not provided. */ stubCellComponent?: React.ComponentType; /** A component that renders a stub header cell if the cell value is not provided. */ stubHeaderCellComponent?: React.ComponentType; /** An object that specifies the localization messages. */ messages?: TableBase.LocalizationMessages; /** Handles a change of the top row. */ onTopRowChange?: (rowId: number | string) => void; /** A reference to the `VirtualTable` instance */ ref?: React.RefObject; } /** A plugin that renders a scrollable table instead of a static table. Contains the VirtualTable.Row and VirtualTable.Cell components that provide ways to customize virtual table rows and columns. These components can be extended by other plugins. */ export declare const VirtualTable: React.ComponentType & { /** The data column type's indentifier. */ COLUMN_TYPE: symbol; /** The data row type's indentifier. */ ROW_TYPE: symbol; /** The nodata row type's indentifier. */ NODATA_ROW_TYPE: symbol; /** The top position of the table. Used in scrolling. */ TOP_POSITION: symbol; /** The bottom position of the table. Used in scrolling. */ BOTTOM_POSITION: symbol; } & { /** A component that renders a table. */ Table: React.ComponentType; /** A component that renders a table head. */ TableHead: React.ComponentType; /** A component that renders a table body. */ TableBody: React.ComponentType; /** A component that renders a table's container. */ Container: React.ComponentType; /** Renders a table data cell. */ Cell: React.ComponentType; /** Renders a table data row. */ Row: React.ComponentType; /** Renders a table cell when the table is empty. */ NoDataCell: React.ComponentType; /** Renders a table row when the table is empty. */ NoDataRow: React.ComponentType; /** A component that renders a stub table row. */ StubRow: React.ComponentType; /** Renders a stub table cell. */ StubCell: React.ComponentType; /** Renders a stub table header cell. */ StubHeaderCell: React.ComponentType; } & { /** Scrolls table to a row with the specified ID. */ scrollToRow: (rowId: number | string) => void; };