Closed
Description
I have this
var options = {
cellHeight: 200,
width: 5,
height: 4,
verticalMargin: 4,
float: true,
removable: '.remove-area',
removeTimeout: 100
};
$('.grid-stack').gridstack(options);
that initialises the grid the way i want it...fine...
I have an div with a class .remove-area
the drag and drop to remove procedure is working, if i drag a widget it gets removed, but...
if i do this (as described in the docs)
$('.grid-stack').on('removed', function(event, items) {
console.log(items);
});
this function never gets called.
Any ideas?