Snaking columns in grid - this means 1 record can span multiple rows Default: Snaking columns allows you to fit 1 record into multiple rows in the grid.
For example, if your record has 7 fields, and you want to display the record like this
Col1 Col2 Col3
Col4 Col5
Col6 Col7
with the 1st field taking up 50% of the grid width. Then set:
$lens->snakeLens = 'COLS^3^2;WIDTH^50%^25%^25%;^MODE^O';
Mode determines how the fields are balanced if the rows are unbalanced (eg. 3^2). Legal values for this mode include:
L: Left
O: Offset
R: Right
L Example:
Col1 Col2 Col3
Col4 Col5
O Example:
Col1 Col2 Col3
Col4 Col5
R Example:
Col1 Col2 Col3
Col4 Col5 Basic:Yes Advanced/Enterprise:Yes DynamicEdit:Yes [Version 4.0]
|