How to: Display Data as Bricks on Phone

The Microsoft Dynamics NAV Phone client uses a brick view to optimize space and readability for data that appears in page types that have Repeater controls, such as ListPart, ListPlus, and List. The brick view compresses up to six columns of data and is only displayed when the page is shown on the Microsoft Dynamics NAV Phone client. On all other Microsoft Dynamics NAV clients data will be displayed in a traditional list view mode.

It is worth noticing that on the phone brick layout some of the options that you have available on larger display types are not available:

  • You cannot delete directly in the list, but must be on the card to do so.

  • There is no concept of a currently selected row.

  • Factboxes, multi selection, custom sorting, and advanced filtering are not available options in the brick view.

  • The brick view does not support ShowAsTree indentation; the list is rendered as a flat list.

You must specify which data that you want shown in a brick view on the table’s Field Group. Depending on the number of columns that you define in the Field Group for the brick, the layout will dynamically change. Up to 6 fields can be displayed, and therefore, there are six possible layouts as shown in this illustration:

Brick layout for tablet and phone

The fields 2 and 3 are shown in a large font and should contain data that identifies the brick, for example, the Customer Name and Balance as you can see in the Customer list on the Microsoft Dynamics NAV Phone client.

Important

By default, the Field Group named DropDown is interpreted as Brick for the Microsoft Dynamics NAV Phone client when Brick has not been set. The DropDown is typically set on entities such as Customer, Vendor, and Items.

Tip

The brick layout supports using the Style Property and StyleExpr Property that lets you mark, for example, numbers as favorable or unfavorable.

To display data as bricks

  1. In the development environment, on the Tools menu, choose Object Designer to open the Object Designer window.

  2. In Object Designer, choose Tables, select a table, and then choose the Design button to open Table Designer. For example, select table 18, the Customer table.

  3. To open the Field Groups window, choose View, and then choose Field Groups.

  4. Select the first row in the Field Groups window, and in the Name field, type Brick.

  5. In the Field List window, make a selection from the fields in the source table. Select more rows by using the Shift key. Choose the OK button to add the fields to the Field Groups table.

  6. Close the windows and then choose Save and Compile.

See Also

Concepts

Developing for the Microsoft Dynamics NAV Universal App
Differences and Limitations When Developing Pages for the Microsoft Dynamics NAV Universal App