piLimitRows - cWebList

Can be used to limit the number of rows shown in a data-aware list

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 { WebProperty=Server }
 Property Integer piLimitRows

Web Property Read Access: WebGet piLimitRows to IntegerVariable
Web Property Write Access: WebSet piLimitRows to IntegerVariable/Value

Read Access: Get piLimitRows to IntegerVariable
Write Access: Set piLimitRows to IntegerVariable/Value


Description

Can be used to limit the number of rows shown in a data-aware list that has peDbGridType set to gtAllData (or pbScroll to False).

If it is set, then the list will simply stop finding rows when the limit is reached. So, if set to 10, then the list will show the first 10 records according to the configured index.

Default value is 0 (no limit).


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.