angular2gridster
angular2gridster copied to clipboard
Grid is modifying last saved configuration.
Hi Swiety
I have grid of four lanes. If I add one widget with width 1 on the right most top, and then reload the page, the widget moves to left most top.
Is this behavior expected ?
Following is my gridster options:
const grisOptions: IGridsterOptions = {
lanes: 4, // how many lines (grid cells) dashboard has
direction: 'vertical', // items floating direction: vertical/horizontal
floating: true,
dragAndDrop: true, // possible to change items position by drag n drop
resizable: true, // possible to resize items by drag n drop by item edge/corner
useCSSTransforms: true, // improves rendering performance by using CSS transform in place of left/top
responsiveSizes: true,
shrink: true,
cellHeight: 375,
responsiveView: true,
responsiveOptions: [
{
breakpoint: 'sm',
lanes: 2
},
{
breakpoint: 'md',
lanes: 4,
dragAndDrop: true,
resizable: true
},
{
breakpoint: 'lg',
lanes: 4,
dragAndDrop: true,
resizable: true
},
{
breakpoint: 'xl',
lanes: 4,
dragAndDrop: true,
resizable: true
}
]
};
Hi, which angular2gridster version do you use?
5.0.2
Hi Damian, is there any update for me ?