gridstack_add_grid
Create a new grid layout with customizable options and child widgets for building dynamic dashboard interfaces and responsive drag-and-drop systems.
Instructions
Create a new grid with options and children (static method)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Parent element selector | |
| opt | No | Grid options including children |
Input Schema (JSON Schema)
{
"properties": {
"opt": {
"description": "Grid options including children",
"properties": {
"children": {
"description": "Array of child widgets to load",
"items": {
"description": "Child widget configuration",
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"parent": {
"description": "Parent element selector",
"type": "string"
}
},
"required": [
"parent"
],
"type": "object"
}