Showing posts with label Grid. Show all posts
Showing posts with label Grid. Show all posts

Tuesday, 6 October 2015

JavaScript Grid widgets

Jqxgrid

For Excel-style grids, with nested grids available
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/

BackGrid
http://backgridjs.com/
Another Excel-style grid

Gridster
http://gridster.net/
Almost it - but can't do swaps except sometimes.  It does inserts instead of swaps sometimes.



Although a post by the author at:

https://github.com/ducksboard/gridster.js/issues/54
says

"The behavior is as follows:
Widgets of smaller or equal size to the dragged widget (player) 
will swap places with the original widget.
This causes tiles to swap left and right as well as up and down.
By default smaller players will shift larger widgets down.
I have added an option to prevent this behavior:
$.gridster({
    shift_larger_widgets_down: false
});
By setting shift_larger_widgets_down to false, smaller widgets will not displace larger ones."

So it should work *if* the tiles are the same size.


sBaseline
Designed to have a tiled set of richly graphic tiles, and inserts instead of swaps sometimes.

BUT - seems to do swaps most often - just doesn;t show you that that is what is happening.