Have just recently created a dashboard framework using gridster.js and so far everything is working as expected. My problem starts with needing to support IE8, which it manages fine up until I need to remove a widget from the dashboard. Using remove_widget() works perfectly on all other major browsers and later versions of IE, but IE8 will error when calculating the rows below the removed widget.
But once it hits the function widgets_below() and goes through:
var el_grid_data = $.isPlainObject($el) ? $el : $el.coords().grid;
el_grid_data is returned as undefined, but only in IE8. Looks like $el.coords().grid is the cause. Does anyone know of this issue or if a workaround is available?
EDIT:
IE8 is reporting that when the grid is initialised, the coords function is returning a bunch of values (for the faux grid):
Hi,
Have just recently created a dashboard framework using gridster.js and so far everything is working as expected. My problem starts with needing to support IE8, which it manages fine up until I need to remove a widget from the dashboard. Using remove_widget() works perfectly on all other major browsers and later versions of IE, but IE8 will error when calculating the rows below the removed widget.
The function remove_widget(); calls
with $el at that point showing up as:
But once it hits the function widgets_below() and goes through:
el_grid_data is returned as undefined, but only in IE8. Looks like $el.coords().grid is the cause. Does anyone know of this issue or if a workaround is available?
EDIT: IE8 is reporting that when the grid is initialised, the coords function is returning a bunch of values (for the faux grid):
Which contains the 'row' variable used by the other functions, yet the $el var doesn't contain those values...?
Cheers.