Skip to content

Commit 5348bd5

Browse files
updated dash-dynamic-grid-layout to 0.1.1
1 parent 69007ac commit 5348bd5

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

docs/dash_dynamic_grid_layout/dash_dynamic_grid_layout.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ DashGridLayout is a flexible grid layout system for arranging and moving compone
5656
| compactType | string | 'vertical' | Compaction type. Can be 'vertical', 'horizontal', or null. |
5757
| showRemoveButton | boolean | true | Whether to show remove buttons for grid items. |
5858
| showResizeHandles | boolean | true | Whether to show resize handles for grid items. |
59-
| persistence | boolean | - | Whether to persist the component's state. |
60-
| persisted_props | array | ['itemLayout'] | List of props to persist. |
61-
| persistence_type | string | 'local' | Type of persistence. Can be 'local', 'memory', or 'session'. |
6259
| items | array | [] | List of items to be rendered in the grid. |
6360
| itemLayout | array | [] | Layout configuration for each item. Each item should be an object with shape {i: string, x: number, y: number, w: number, h: number}. |
6461
| currentLayout | array | [] | The current layout of the grid items. Each item should be an object with shape {i: string, x: number, y: number, w: number, h: number}. |

docs/dash_dynamic_grid_layout/intro.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,17 @@ def generate_random_string(length):
146146
{'i': 'draggable-map', 'x': 6, 'y': 0, 'w': 6, 'h': 4},
147147
{'i': 'draggable-calendar', 'x': 6, 'y': 4, 'w': 6, 'h': 4}
148148
],
149-
showRemoveButton=False,
150-
showResizeHandles=False,
151149
rowHeight=150,
152150
cols={"lg": 12, "md": 10, "sm": 6, "xs": 4, "xxs": 2},
153151
style={"height": "800px"},
154152
compactType="horizontal",
155-
persistence=True,
156153
),
157154
className="grid-container"
158155
),
159156
dcc.Store(id="layout-store"),
160157
],
161-
className="main-container"
158+
className="main-container",
159+
style={'overflow': 'auto'}
162160
)
163161

164162

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dash-charty
3737
dash-image-gallery
3838
dash-swiper
3939
dash-nivo>=0.0.1
40-
dash-dynamic-grid-layout==0.1.0
40+
dash-dynamic-grid-layout==0.1.1
4141
dash-leaflet==1.0.15
4242
dash-insta-stories
4343
dash-credit-cards

0 commit comments

Comments
 (0)