Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

[Added] Browse: Rows per Page Dropdown

Information about updates, news, Code Library
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

[Added] Browse: Rows per Page Dropdown

Unread post by admin »

There is a new function nuBrowseRowsPerPageFilter() that adds a "Rows per page" dropdown function to a Browse Form.

By default, the dropdown contains these options (page numbers): 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 150, 200.

To display a different options in the dropdown, pass the options to the function as an array.

For example:

Code: Select all

nuBrowseRowsPerPageFilter([50, 70, 100]);

☛ Usage: Add this JavaScript function to the Custom Code of your form.


Available as of Files Version: V.4.5-2024.03.27.1
Attachments
rows_per_page.png
rows_per_page.png (95.51 KiB) Viewed 101 times
Post Reply