-
Notifications
You must be signed in to change notification settings - Fork 155
/
Copy pathpage-settings-model.d.ts
64 lines (55 loc) · 1.46 KB
/
page-settings-model.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import { Property, ChildProperty } from '@syncfusion/ej2-base';
/**
* Interface for a class PageSettings
*/
export interface PageSettingsModel {
/**
* Defines the number of records to be displayed per page.
*
* @default 12
* @blazorType int
*/
pageSize?: number;
/**
* Defines the number of pages to be displayed in the pager container.
*
* @default 8
* @blazorType int
*/
pageCount?: number;
/**
* Defines the current page number of the pager.
*
* @default 1
* @blazorType int
*/
currentPage?: number;
/**
* @hidden
* Gets the total records count of the Grid.
*
* @blazorType int
*/
totalRecordsCount?: number;
/**
* If `enableQueryString` set to true,
* then it pass current page information as a query string along with the URL while navigating to other page.
*
* @default false
*/
enableQueryString?: boolean;
/**
* If `pageSizes` set to true or Array of values,
* It renders DropDownList in the pager which allow us to select pageSize from DropDownList.
*
* @default false
*/
pageSizes?: boolean | (number | string)[];
/**
* Defines the template which renders customized elements in pager instead of default elements.
* It accepts either [template string](../../common/template-engine/) or HTML element ID.
*
* @default null
*/
template?: string;
}