# Arranging fields in rows and columns by using the grid control
Use a grid control to arrange groups of page fields in columns. Ordinary FastTabs automatically arrange fields and adjust to the available screen space. See Field arrangement on FastTabs<devenv-arranging-fields-on-fasttab> and devenv-arranging-fields-using-grid-and-fixed-controls.
> IMPORTANT
> The web client partially supports grid controls. The web client doesn't support `GridLayout = Rows`, RowSpan, and ColumnSpan. Use column layouts and test the page at the screen sizes your users need.
In the web client, a grid control lets you arrange groups of fields in columns and show or hide captions.
## Set up a grid in a FastTab
Place the grid control inside a page group. Add groups inside the grid to define columns. Use `GridLayout = Columns` for a column layout. See properties/devenv-gridlayout-property.
### Example of a grid control
The following example arranges customer information in columns. It also shows a nested grid.
```al
page 50113 "Customers Page"
{
    PageType = Card;
    SourceTable = Customer;
    layout
    {
        area(content)
        {
            group(General)
            {
                grid(MyGrid)
                {
                    GridLayout = Columns;
                    group("General Info")
                    {
                        field("No."; Rec."No.")
                        {
                            ApplicationArea = All;
                            Caption = 'No.';
                            ToolTip = 'Specifies the customer number.';
                        }
                        field(Name; Rec.Name)
                        {
                            ApplicationArea = All;
                            Caption = 'Name';
                            ToolTip = 'Specifies the customer name.';
                        }
                        field("E-Mail"; Rec."E-Mail")
                        {
                            ShowCaption = false;
                            ApplicationArea = All;
                            Caption = 'E-Mail';
                            ToolTip = 'Specifies the customer email address.';
                        }
                    }
                    group("Address Details")
                    {
                        grid(Grid2)
                        {
                            group(GridForm)
                            {
                                field(Address; Rec.Address)
                                {
                                    ApplicationArea = All;
                                    Caption = 'Address';
                                    ToolTip = 'Specifies the customer address.';
                                }
                                field("Post Code"; Rec."Post Code")
                                {
                                    ApplicationArea = All;
                                    Caption = 'Post Code';
                                    ToolTip = 'Specifies the customer postal code.';
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
The following screenshot illustrates the column layout in the web client.
![Customer page with general information in the left grid column and address details in the right column.]
## Row and column spanning in the web client
The web client doesn't support field spanning. Setting RowSpan or ColumnSpan doesn't produce the spanning layouts from the former Windows client. See properties/devenv-rowspan-property and properties/devenv-columnspan-property.
##  Hide field captions
To hide a field or group caption, set `ShowCaption = false`. The following example hides the email field's caption. See properties/devenv-showcaption-property.
## Related information
Field arrangement on FastTabs<devenv-arranging-fields-on-fasttab>
devenv-arranging-fields-using-grid-and-fixed-controls
devenv-arrange-fields-in-rows-and-columns-using-fixedlayout-control

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-arrange-fields-in-rows-and-columns-using-gridlayout-control, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/devenv-arrange-fields-in-rows-and-columns-using-gridlayout-control/
