# Related List Grid

GridMate provides a lightning grid component **GM - RelatedList Grid** to display related lists with advanced features and bypass Salesforce standard UI limitations like the number of columns and rows.&#x20;

In this tutorial, we will configure **GM - RelatedList Grid** component by showing how to add it to a lightning page, viewing the related records and inline edit them.&#x20;

{% hint style="warning" %}
GM - RelatedList Grid can be used for Lookup and Master-Detail Relations
{% endhint %}

{% hint style="warning" %}
GM - Related List Grid may not function on Gov Cloud due to restrictions from Salesforce. You are recommended to use a FieldSet Grid or a UserGrid to replicate the Related List
{% endhint %}

1. Select an Account record and edit the page in the Lightning App Builder.
2. From the components list, drag and drop the component **GM - RelatedList Grid**.
3. The grid component is now ready for configuration in the Lightning App Builder.
4. The property values can be configured to tailor the data grid to the needs of the end-user.
5. To perform a quick configuration, populate the properties below:&#x20;
   * Related List Label : ***Opportunities***
   * Row Limit : 1**00**
   * Page Size : **50**
   * Custom Icon : ***standard:opportunity***
   * Grid Height : **480**
   * Show Border : ***Checked***
   * Show Column Border : ***Checked***
   * Show Record Details : **Checked**

{% hint style="info" %}
Related List Label should be the same label as on the layout. Otherwise the user will not be able to see the data.
{% endhint %}

Below is a step by step tutorial to configure the **GM - RelatedList Grid** component.

{% embed url="<https://youtu.be/VEWMRBtoQHU>" %}
GM - RelatedList Grid
{% endembed %}

## Open Split View by Default

**Open Split View by Default** is a feature that automatically opens Split View on your smart grids (GM Related List Grid, Parent Related List Grid, List View Grid, Field Set Grid, etc.) when the page is loaded or refreshed, enhancing your 360° experience.

1. Edit the page in **Lightning App Builder**.
2. Select **GM – Related List Grid** (or the relevant smart grid).
3. To perform a quick configuration, set the following property:
   * Auto Select 1st Row : **Checked.**
   * Open Split View : **Checked.**

<figure><img src="/files/1fohYYBf9cYUFcdpiJR0" alt=""><figcaption></figcaption></figure>

After saving the configuration, Split View will automatically open on the smart grid when the page is loaded or refreshed.

<figure><img src="/files/4vuVuGTph79wYdas9WCq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gridmate.io/product-tour/related-list-grid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
