You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
If you are more than one gridstack in your page, your saveFunction return all the items:
$('.grid-stack .grid-stack-item:visible').
The save function should return only the items of the component:
var items = $(this.el.nativeElement).find(".grid-stack-item:visible");
var jsonItems = _.map(items, function (el) { ..... }
The text was updated successfully, but these errors were encountered:
Hi,
If you are more than one gridstack in your page, your saveFunction return all the items:
$('.grid-stack .grid-stack-item:visible').
The save function should return only the items of the component:
var items = $(this.el.nativeElement).find(".grid-stack-item:visible");
var jsonItems = _.map(items, function (el) { ..... }
The text was updated successfully, but these errors were encountered: