GRID Block
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
The GRID block displays data in a tabular format of "name-value" pairs with various display options.
Display Options
BLOCK— eachGRIDelement is displayed as a separate block on a new line, forming a vertical list.LINE— elements are displayed in a single line as cards, wrapping to the next line when there is insufficient width.ROW— a classic two-column format of "NAME | VALUE".TABLE— tabular mode with a denser grid; support depends on the client application version. In some clients, it may appear asROW.
How It Looks in the Interface
-
BLOCKFields are listed one below the other, each on a new line.
Example:
Project: BUGS Category: im Summary: Implementation required... -
LINEFields are shown as compact cards in a single line. If space is insufficient, the cards wrap to the next line.
Example:
[Project: BUGS] [Category: im] [Priority: High] [Executor: John Smith] -
ROW"Name-value" pairs are displayed in two columns:
NAMEon the left andVALUEon the right.Example:
Project | BUGS Category | im Priority | High -
TABLETabular variant with a denser grid. Depending on the client, it may look like
ROW.Example:
Project | BUGS Category | im Deadline | 11/04/2015 05:50:43 PM
Warning
Do not mix different display formats within a single GRID entry. If different types of representation are needed, create separate GRID blocks.
General Parameters of the GRID Element
|
Name |
Description |
|
DISPLAY* |
Display format: |
|
NAME |
Field name. In |
|
VALUE |
Field value. BB codes are supported for |
|
WIDTH |
Width of the block or column in pixels |
|
HEIGHT |
Height of the block in pixels |
|
COLOR_TOKEN |
Color token for the value: |
|
COLOR |
HEX color of the value ( |
|
LINK |
External link for the value |
|
USER_ID |
Internal link to the user |
|
CHAT_ID |
Internal link to the chat |
Supported BB Codes for VALUE
|
Code |
Purpose |
|
|
Mention a user with a link to their profile in the chat |
|
|
Link to the chat |
|
|
Clickable action "send text to chat" |
|
|
Clickable action "insert text into input field" |
|
|
Clickable action for calling |
|
|
Line break |
|
|
Bold text |
|
|
Underlined text |
|
|
Italic text |
|
|
Strikethrough text |
|
|
Link |
Examples
How to Use Examples in Documentation
Block Representation
DISPLAY: 'BLOCK' displays elements one below the other.

Example
{
GRID: [
{
NAME: 'Description',
VALUE: 'Implementation required to add structured entities to messages and notifications in the messenger.',
DISPLAY: 'BLOCK',
WIDTH: 250
},
{
NAME: 'Category',
VALUE: 'Requests',
DISPLAY: 'BLOCK',
WIDTH: 100
}
]
}
[
'GRID' => [
[
'NAME' => 'Description',
'VALUE' => 'Implementation required to add structured entities to messages and notifications in the messenger.',
'DISPLAY' => 'BLOCK',
'WIDTH' => 250
],
[
'NAME' => 'Category',
'VALUE' => 'Requests',
'DISPLAY' => 'BLOCK',
'WIDTH' => 100
]
]
]
Line Representation
DISPLAY: 'LINE' displays elements in a line, wrapping to the next line when there is insufficient space.

In the mobile version, elements are displayed one below the other.
Example
{
GRID: [
{
NAME: 'Priority',
VALUE: 'High',
COLOR_TOKEN: 'alert',
COLOR: '#ff0000',
DISPLAY: 'LINE',
WIDTH: 250
},
{
NAME: 'Category',
VALUE: 'Requests',
DISPLAY: 'LINE'
}
]
}
[
'GRID' => [
[
'NAME' => 'Priority',
'VALUE' => 'High',
'COLOR_TOKEN' => 'alert',
'COLOR' => '#ff0000',
'DISPLAY' => 'LINE',
'WIDTH' => 250
},
[
'NAME' => 'Category',
'VALUE' => 'Requests',
'DISPLAY' => 'LINE'
]
]
]
Two-Column Representation
DISPLAY: 'ROW' displays data in two columns.

Example
{
GRID: [
{
NAME: 'Priority',
VALUE: 'High',
DISPLAY: 'ROW'
},
{
NAME: 'Category',
VALUE: 'Requests',
DISPLAY: 'ROW'
}
]
}
[
'GRID' => [
[
'NAME' => 'Priority',
'VALUE' => 'High',
'DISPLAY' => 'ROW',
'WIDTH' => 250
},
[
'NAME' => 'Category',
'VALUE' => 'Requests',
'DISPLAY' => 'ROW'
]
]
]