Gridster with Highcharts, make specific Chart smaller and recalculate
问题 i am building a dashboard with gridster and highcharts. If i resize the window and a widget with a highchart is bigger than the window, i want to resize it to make it smaller and gridster should recalculate the positions of the others. I tried this code to make a widget and its highchart smaller if its bigger than the windows width: $( ".dashboard > li" ).each(function() { var chart = $(this).children('div'); // console.log(' Window: ' + width); console.log(chart); if(chart.width() > width) {