Replies: 1 comment
-
Hi! Right now, adding and deleting elements in the grid are not handled by the grid itself. What is the standard way to do it now, would be to call the compact function This is the way to go right now for several reasons, if you have more doubts or this answer does not resolve your problem, give me an stackblitz example where I can see exactly what the issue is. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi !
On the playground, when you add a new item, the x and y values are not updated.
Let's say i have one bloc on my grid, this.layout will be :
when i add an item :
I have a draggable block that contains toggles to add/remove blocks, and when the user hit close, i save the layout. But, if the user didn't trigger the layoutUpdated event, the data will not be the correct one.
Am i missing something ?
thanks :)
Beta Was this translation helpful? Give feedback.
All reactions