@syncfusion/ej2-react-grids
Version:
Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel. for React
38 lines (37 loc) • 1.14 kB
TypeScript
import * as React from 'react';
import { Pager, PagerModel } from '@syncfusion/ej2-grids';
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
export interface PagerTypecast {
template?: string | Function | any;
}
/**
* `PagerComponent` represents the react Pager.
* ```tsx
* <PagerComponent/>
* ```
*/
export declare class PagerComponent extends Pager {
state: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<PagerModel | DefaultHtmlAttributes | PagerTypecast>;
setState: any;
private getDefaultAttributes;
initRenderCalled: boolean;
private checkInjectedModules;
private statelessTemplateProps;
private templateProps;
private immediateRender;
private isReactMock;
props: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<PagerModel | DefaultHtmlAttributes | PagerTypecast>;
forceUpdate: (callBack?: () => any) => void;
context: Object;
portals: any;
isReactComponent: Object;
refs: {
[key: string]: React.ReactInstance;
};
constructor(props: any);
render(): any;
}