The main purpose of a grid is to display information from a table. Grids show a number of columns which represent fields, but sometimes you need to add or remove columns from your grid.

In some cases, you can do this on a temporary basis without customization. Columns may already be on the grid but hidden by default. For more information on that, please see our article "How Grids / Lists Work."

Customizing a Grid

In this example, we will customize the Contact List screen to permanently show a column in the grid. By default, the Billing Address State is hidden so we will have it displayed. Of course, these same steps will work for any column you wish to show permanently in a grid.

1. While on the screen, click the caron symbol ( ⌄ ) by the Contacts header and then select Customize Screen.

2. You will be prompted to view the screen as read-only, or to Create a copy. You want to create a copy, so select that.

3. Find the ContactsGrid and click the down arrow on the control. Select Columns from the drop down menu.

4. You will be presented with a list of columns, and by selecting a column, you will be able to edit its properties. Scroll through the list and select the Billing Address State column.

Note: If you wish to show a column not in the list, just click Add another column and select one of the existing fields.

5. There are a number of properties you can change so let's take a look at a few:

  • Caption: The header for the column. Change it to State.
  • Hide Caption: Below the Caption is a checkbox to hide the caption. Keep it at the default of unchecked.
  • Width: Each column can have a specified width. The default option for width is blank, but we can adjust this by choosing percentage or pixels. Percentage allows you to set the width in relation to other columns, while pixels allows you to be more exact. For now, set it to 10%.
  • Hide: There are two checkboxes available: On Desktop and On Mobile. You want to have it show on Desktop so check that. If you also whish for it to show on mobile, you can check that box as well.

6. You are done! Click Close, and then Close again.

And now your grid will show the column you just added!

Make a Column Visible Permanently

As mentioned above, you can temporarily make columns visible. To do this permanently, you need to customize the grid.

First, follow steps 1 to 4 above in Customizing a Grid

This will take you to a list of columns added to your grid. In the below example, we are looking at the Contacts List Screen. Select a column in the list, and check On Desktop and/or On Mobile if you wish to see the column on Mobile.

Removing a Column

Note that removing a column on a grid is permanent for all your Method users.

Again, this is done via customization. Follow steps 1 to 4 above in Customizing a Grid

This will take you to a list of columns added to your grid. In the below example, we are looking at the Contacts List Screen

To remove a column, select the trashcan by the column you wish to delete. 

Did this answer your question?