Arranging Fields in Rows and Columns Using a FixedLayout Control

This topic describes the layout and behavior of fields in a FixedLayout control on a page. You use the FixedLayout control to arrange page fields in rows and columns, similar to a matrix, except that the FixedLayout control contains a specific number of fields, and a matrix can contain an unspecified number of fields. You typically use the FixedLayout control to display statistical data in a FastTab on a page or information in the details section of a Worksheet page. If you are using the Microsoft Dynamics NAV demo database, then you can see examples of these uses in page 151, Customer Statistics, and page 40, Item Journal.

General

In Page Designer, you include a FixedLayout control under a group control. You can add fields directly under the FixedLayout control as shown in the following Page Designer example that contains four fields.

Ee909564.Local_-291430380_navrtcfixedlayoutpagedesignernogroup(en-us,NAV.60).png

The following figure illustrates the resulting field layout on a page.

Ee909564.Local_736690374_navrtcfixedlayoutsingle(en-us,NAV.60).png

It is important to notice that there are no captions for the fields.

Grouping Fields in a Fixed Layout Control

By placing the fields in a FixedLayout control within a group control, you can define separate rows and columns to create a matrix-like arrangement. The following figure shows a Page Designer example that places four fields of the FixedLayout control within a group control.

Ee909564.Local_-1972127115_navrtcfixedlayoutpagedesignergrouping(en-us,NAV.60).png

The following figure illustrates the resulting field layout on a page.

Ee909564.Local_1467953827_navrtcfixedlayoutgroup(en-us,NAV.60).png

The group control caption appears as the column header, and the field control captions appear as the row headers. If you add two more group controls containing fields, then the layout on the page will look similar to the following figure:

Ee909564.Local_911368608_navrtcfixedlayoutmultiplegroups(en-us,NAV.60).png

Only the field captions for the first group control appear. The field captions in other group controls are ignored.

Multiple Fixed Layouts

You can also set up more than one FixedLayout control within a group control. For example, the following figure illustrates the page layout if you had four FixedLayout controls:

Ee909564.Local_-245812692_navrtcfixedlayoutmultiple(en-us,NAV.60).png

The page area is divided into two columns that contain the separate FixedLayout fields.

NoteNote

The fields in the FixedLayout controls in the figure are not within a group control. If they were within a group control, then they would follow the same principle as described in the previous section about grouping fields.

Editing Fields in a Fixed Layout

Fields in a fixed layout are not editable even if the Editable Property property is set to TRUE. However, if the field drills down to a page where the field source is defined, then you can edit the field.

See Also

Community Additions

ADD
Show: