JavaScript's largest safely integer value : 4294967295
(2^32-1) = 4,294,967,295 or almost 4.3Billion
There is a new standard out, with a max safe integer value of 2^53-1, but it's poorly supported.
Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts
Tuesday, 13 October 2015
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:
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.
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.
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.
Subscribe to:
Posts (Atom)