psRowHeights - cWebBaseContainer
Allows custom row heights to be specified, overriding the default row height
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
{ WebProperty=Client }
Property String psRowHeights
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet psRowHeights to StringVariable |
| Write Access: | WebSet psRowHeights to StringVariable/Value |
Description
Allows custom row heights to be specified, overriding the default row height.
Format
"ROWINDEX/VALUE ROWINDEX/VALUE ROWINDEX/VALUE ..."
Example:
"1/75 3/1fr 4/20%"
Several types of values can be used:
Exact Pixel Values
Simply enter the desired number.
Percentages
(e.g.: "1/20%"). Makes the row a percentage of the total available height.
Fractions
(e.g: "1/1fr", "4/3fr"). Makes the row a fraction of the total available remaining height. For example: In a grid with exactly 4 rows that are each 1 fraction (1fr), each row will claim 1/4th of the total available height. If a 5th row is added that is exactly 20 pixels high, then the other 4 rows will claim 1/4th of the total height that remains after subtracting the 20 pixels.
Advanced Clauses
like minmax, max-content, etc. refer to the CSS Grid documentation for more information (CSS Grid Layout). Note that CSS Grid is 1-based, but the DataFlex Grid Layout implementation is 0-based.
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.
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.