Back
sameRowLens
Table Cell formating
sameRowLens
Controls whether to show 1 or 2 fields per row in new, edit & detail grids.
Default:
Assume we display 4 fields, F1, F2, F3, F4 in that order. Then assume the following settings:

$lens->sameRowLens = 'F1^EDIT^VIEW^NEW;F3^EDIT';

The example above sets F1 to display the next field (F2) in the same row in the edit, new record and details grid (VIEW), while F3 and F4 are in the same row only when editing.

Visually in the detail grid and new record form:

F1 F2
F3
F4

In edit record form we will see:

F1 F2
F3 F4

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 3.2]