Andrei Picus
Andrei Picus
Can you please provide reproduction steps for the bug you're trying to fix? > findPositionForItem returns the item in horizontal mode (so this works without issue), but a newly created...
@GordonSmith I'm glad you find it useful!
> Personally I would like to have seen buttons/anchors for removing/resizing the items @orion538 you can check out the [demo](https://github.com/hootsuite/grid/blob/eb65d8fe6a120941d80815af26787348a80c956c/demo/load.js) which has resize buttons on the items. The buttons there...
> By the way is there a way to disable dragging feature You can pass [dragAndDrop: false](https://github.com/uberVU/grid/blob/20531d60a6900c421d310a8e43213224183ac03e/src/jquery.gridList.js#L28) to the plugin constructor.
The GridList class and the jQuery plugin don't have logic for adding and removing items, you do that yourself. Don't know what you mean by 'switching'. As for sorting, a...
The problem lies in how we rebuild the grid when we can't reposition the items underneath the dragged item. What happens is the following: 1. You drag `0` over `2`....
You can pass [`dragAndDrop: false`](https://github.com/hootsuite/grid/blob/eb65d8fe6a120941d80815af26787348a80c956c/src/jquery.gridList.js#L106-L111) through options to disable dragging. > How about inserting an empty col/row and make it stay after reflow/adding/removing rows/cols? Can you please explain what you...
> If i add or remove rows to grid empty col is resizing its height(nrows)! 1. Shouldn't it? Don't you want the division to stretch all the way down? (btw,...
@juggy it would be quite difficult to implement that. You would have to: - add support for emitting events from the grid, - add the jQuery UI [droppable plugin](https://jqueryui.com/droppable/) to...
@ovidiu-chereches-hs seems that way. At first I thought it was used inside the jQuery plugin to get the list of changed items, but it's using [`$element`](https://github.com/hootsuite/grid/blob/eb65d8fe6a120941d80815af26787348a80c956c/src/jquery.gridList.js#L336) for that. Someone should...