PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
NbLinesPerPage (Property)
In french: NbLignesParPage
..NbLinesPerPage is used to:
  • Find out and modify the maximum number of rows per page for a table.
  • Find out and modify the maximum number of rows per page for a looper.
    Caution: if the looper is multi-column, ..NbLinesPerPage corresponds to the maximum total number of occurrences displayed in the looper (number of columns multiplied by the number of rows).
Reminder: The number of rows per page corresponds to the maximum number of table/looper rows that can be displayed in a page. This option is used to optimize the size of pages. This number is defined in the control description:
  • For the loopers: "General" tab of the control description.
  • For the tables: "Details" tab of the control description.
Versions 18 and later
WEBDEV - Server codePHP This property is now available for PHP sites.
New in version 18
WEBDEV - Server codePHP This property is now available for PHP sites.
WEBDEV - Server codePHP This property is now available for PHP sites.
Example
// Displays 20 looper rows on a page
LOOP_Looper1..NbLinesPerPage = 20
Syntax

Finding out the maximum number of rows per page Hide the details

<Number of rows> = <Control name>..NbLinesPerPage
<Number of rows>: Integer
Maximum number of rows currently defined.
<Control name>: Character string
Name of table or looper.

Modifying the maximum number of rows per page Hide the details

<Control name>..NbLinesPerPage = <New number of rows>
<Control name>: Character string
Name of table or looper for which the maximum number of rows per page must be modified.
<New number of rows>: Integer
Maximum number of rows per page. This number must not be equal to 0.
Remarks
  • There is no need to call TableDisplay or LooperDisplay to take into account the new maximum number of rows per page.
  • This property does not operate if the looper and/or the table is in Ajax mode.
  • This property is not available for treeview tables.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment