> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Message grid

> Message grid

This element will display ticket messages in a grid including a checkbox.

This element can be useful in screens such as **forward ticket** where we want to select messages in a ticket.

<Note>
  If you don't set a ticket ID, the entryId is used.
</Note>

## Configuration

| Setting  | Description                                            |
| :------- | :----------------------------------------------------- |
| label    | UI label                                               |
| ticketId | Whether to add the messages on this ticket to the grid |

## Functions

### toString()

Returns the selected message IDs in a comma-separated string.


## Related topics

- [Working with grids](/en/customization/screen-designer/admin/working-with-grids.md)
- [MacroParameter](/en/automation/crmscript/reference/CRMScript.Native.MacroParameter.md)
- [Void](/en/automation/crmscript/reference/CRMScript.Global.Void.md)
- [Widgets](/en/developer-portal/widgets/index.md)
- [Message](/en/automation/crmscript/reference/CRMScript.Native.Message.md)
- [Messages](/en/developer-portal/create-app/message-center.md)
