Display a set of scrolling page links in the navigation bar Default: Set this to a positive number to indicate the number of page links to display. As the current selected page will be centered in the display, it is best to use an odd number. For example:
$lens->scrollLinks = 3;
Will display 3 links in the navigation bar (and assuming that we are at page 5):
|< < 4 5 6 > >|
To set the scroll background color, see scrollBgColor.
Tip
When scrolling to the end of the grid is slow, consider setting scrollLinks > 0. This is because setting scrollLinks will force phpLens to perform a count of the recordset, so it has a better idea of what record to scroll to reach the end of the grid. Basic:Yes Advanced/Enterprise:Yes DynamicEdit:Yes [Version 2.8]
|