PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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).
This modification is available for the "Automatic" or "Dynamic" controls only ("Details" tab of control description). This modification is available for the "Automatic" or "Dynamic" controls only ("GUI" tab of control description).
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 the PHP sites.
New in version 18
WEBDEV - Server codePHP This property is now available for the PHP sites.
WEBDEV - Server codePHP This property is now available for the 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 modification of the 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 the treeview tables.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment