UNPKG

@progress/kendo-react-grid

Version:

React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package

56 lines (55 loc) 1.74 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { SVGIcon } from '@progress/kendo-react-common'; import * as React from 'react'; export interface GridToolbarColumnsChooserProps { /** * Defines the icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)). * * @example * ```jsx * <GridToolbarSort icon="home" /> * ``` */ icon?: string; /** * Defines the SVG icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)). * * @example * ```jsx * import { gearIcon } from '@progress/kendo-svg-icons'; * * <GridToolbarSort svgIcon={gearIcon} /> * ``` */ svgIcon?: SVGIcon; /** * Specifies if the popup will be displayed. * * @example * ```jsx * <GridToolbarColumnsChooser show={true} /> * ``` */ show?: boolean; /** * The method that will be called to close the column menu. * * @example * ```jsx * <GridToolbarColumnsChooser onCloseMenu={() => console.log('close menu');} /> */ onCloseMenu?: Function; } /** * Represents the GridToolbarColumnsChooser component. */ export declare const GridToolbarColumnsChooser: { (props: GridToolbarColumnsChooserProps): React.JSX.Element; displayName: string; };