@progress/kendo-react-grid
Version:
KendoReact Grid package
59 lines (58 loc) • 1.22 kB
TypeScript
/**
* The type of the Grid pager.
*
* The available values are:
* * `numeric`—Buttons with numbers.
* * `input`—Input for typing the page number.
*
* @example
* ```tsx-no-run
*
* <Grid
* pageable="{{
* type: 'numeric'
* }}">
* </Grid>
* ```
*/
export declare type GridPagerType = 'numeric' | 'input';
/**
* The pager settings of the Grid ([see example]({% slug paging_grid %})).
*
* @example
* ```tsx-no-run
*
* <Grid
* pageable="{{
* buttonCount: 2,
* info: false
* }}">
* </Grid>
* ```
*/
export declare type GridPagerSettings = {
/**
* 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>;
/**
* Toggles the **Previous** and **Next** buttons.
*/
previousNext?: boolean;
};
/**
* @hidden
*/
export declare const normalize: (settings: any) => any;