UNPKG

@progress/kendo-react-grid

Version:

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

90 lines (89 loc) 2.41 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * The type of the Grid pager. * * The available values are: * * `numeric`&mdash;Buttons with numbers. * * `input`&mdash;Input for typing the page number. * * @example * ```jsx-no-run * * <Grid * pageable="{{ * type: 'numeric' * }}"> * </Grid> * ``` */ export type GridPagerType = 'numeric' | 'input'; /** * The pager settings of the Grid ([see example](https://www.telerik.com/kendo-react-ui/components/grid/paging)). * * @example * ```jsx-no-run * * <Grid * pageable="{{ * buttonCount: 2, * info: false * }}"> * </Grid> * ``` */ export interface GridPagerSettings { /** * Sets the selected value of the page size Dropdownlist. * It is useful when the selected value could also be a string not only a number. */ pageSizeValue?: string | number; /** * Sets the maximum numeric buttons count before the buttons are collapsed. */ buttonCount?: number; /** * Toggles the information about the current page and the total number of records. */ info?: boolean; /** * Defines the type of the Grid pager. */ type?: GridPagerType; /** * Shows a menu for selecting the page size. */ pageSizes?: boolean | Array<number> | Array<number | string>; /** * Toggles the **Previous** and **Next** buttons. */ previousNext?: boolean; /** * Defines if the pager will be responsive. * If true, hides the tools that do not fit to the available space. * * @default `true` */ responsive?: boolean; /** * Providing different rendering of the page sizes select element based on the screen dimensions. */ adaptive?: boolean; /** * Specifies the text that is rendered as title in the adaptive page sizes select element. */ adaptiveTitle?: string; /** * Defines if the pager will be navigatable. */ navigatable?: boolean; } /** * @hidden */ export declare const normalize: (settings: any) => any;