set_cell_layout
Positions a QuestDB notebook cell in grid mode with x, y, and width values (max 12 columns), returning the applied layout and cell view/mode. Use it to place cells precisely in dashboard layouts.
Instructions
Position a single cell in grid mode. x/y/w are integers in the react-grid-layout grid; width is limited to 12 columns. Cell height is derived from its semantic pane dimensions. The response includes the applied grid position plus the cell's presented view and mode; editor-only and markdown cells report mode null, and markdown also reports view null. Use set_cell_dimensions to resize a cell or change its view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| cell_id | Yes | ||
| buffer_id | Yes |