Grid Specific Events

Events that can be triggered on the Grid

Updated over a week ago

There are a few events which you will find specific to the grid object only. 

Remember, an Event is like a trigger, usually initiated by the user. When it goes off, Method will do the actions associated to the event.

Load Event

The load event is not specific to grids. It will trigger when the screen first loads, for example, when you navigate to the screen for the first time.

This event happens before the data loads into the grid.

Row Click Event

The row click event is specific to grids.  It triggers when a Method user clicks on a row in the grid.

This is often used with the Go To Screen action to send the user to a screen to edit the record which has been clicked. 

Within the action set, any reference to a column in the grid will return the specific column value of the row clicked. 


In the above animation, the grid is called ContactsGrid. The row clicked is a record pertaining to Amy Ford. Any time you pull in a value from the grid's fields, it will be from Amy's particular record. 

Below is the action Go To Screen which is the action for the row click event.

When setting the Active record ID, the dropdown shows the columns of the ContactsGrid.

These columns, or fields, will only hold the field value of the clicked row.

Thus, when this is set to ContactsGrid-Record ID: 

we are setting Active Record ID to the Record ID of the row which was clicked, which is Amy Ford's Record ID.

Column Action Click Event

When defining columns in a grid, you have the option to give actions for when a Method user clicks in a particular column and a particular row.

In the below example, I have added a Link column and added as a caption for the column header (that is not a built in column). When the link column is clicked, I've set it up with a Show Message action:

To access a column click event, you will need to go into the Columns of the grid itself, and select a column you want to add the actions to.


In the above animation, a grid is based on a custom Rewards table. Below is the columns view of this grid:

In the above image, the fifth column is selected which shows the Link column we made. 

The Column Action currently has one action associated to it as indicated by the number in the brackets.

Did this answer your question?