@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
67 lines (66 loc) • 1.86 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The type of the TreeList pager.
*
* The available values are:
* * `numeric`—Buttons with numbers.
* * `input`—Input for typing the page number.
*
* @example
* ```html
* <kendo-treelist [pageable]="{ type: 'numeric'}"></kendo-treelist>
* ```
*/
export type PagerType = 'numeric' | 'input';
/**
* The pager settings of the TreeList.
*
* @example
* ```html-no-run
*
* <kendo-treelist
* [pageable]="{
* buttonCount: 2,
* info: false
* }">
* </kendo-treelist>
* ```
*/
export interface PagerSettings {
/**
* Sets the maximum numeric buttons count before the buttons are collapsed.
*/
buttonCount?: number;
/**
* A flag that indicates if child nodes should be fetched and counted for the pager total.
*/
countChildren?: boolean;
/**
* Toggles the information about the current page and the total number of records.
*/
info?: boolean;
/**
* Defines the type of the TreeList pager.
*/
type?: PagerType;
/**
* Shows a menu for selecting the page size.
*/
pageSizes?: boolean | Array<number>;
/**
* Toggles the **Previous** and **Next** buttons.
*/
previousNext?: boolean;
/**
* Toggles the built-in responsive behavior of the Pager.
* Available in version `3.0.0` and above ([see example](slug:responsive_pager_treelist)).
*/
responsive?: boolean;
}
/**
* @hidden
*/
export declare const normalize: (settings: any) => any;