GridPager Class [PHP]

Summary

Properties Description
PageIndex Get or set the page index.
PageInfoTemplate Get or set the folder which images is stored.
PageSize Get or set the page size.
PageSizeOptions Get or set the pagesize options.
PageSizeText Get or set the text in front of pagesize select box.
Position Get or set the position of pager.
ShowPageInfo Get or set whether page information is shown.
ShowPageSize Get or set whether pagesize selection box is shown.

Properties Detail

PageIndexTop

int PageIndex

Get or set the page index.

Show/Hide Code

Supported from version: 1.0.0.0

PageInfoTemplateTop

string PageInfoTemplate

Get or set the folder which images is stored.

Show/Hide Code

Supported from version: 1.0.0.0

PageSizeTop

int PageSize

Get or set the page size.

Show/Hide Code

Supported from version: 1.0.0.0

PageSizeOptionsTop

string PageSizeOptions

Get or set the pagesize options. The options separate from each other by commas.

Default value : "5,10,20,40"

Show/Hide Code

Supported from version: 1.0.0.0

PageSizeTextTop

string PageSizeText

Get or set the text in front of pagesize select box.

Show/Hide Code

Supported from version: 1.0.0.0

PositionTop

string Position

Get or set the position of pager.

Default value : "bottom"

Allowed values :

  • "top" : Grid show pager at top
  • "bottom" : Grid show pager at bottom
  • "topbottom" : Grid show pager at both top and bottom position

Show/Hide Code

Supported from version: 3.5.0.0

ShowPageInfoTop

bool ShowPageInfo

Get or set whether page information is shown.

Show/Hide Code

Supported from version: 1.0.0.0

ShowPageSizeTop

bool ShowPageSize

Get or set whether pagesize selection box is shown and allow user to change the page size.

Show/Hide Code

Supported from version: 1.0.0.0