Is there a function that I could call to rerender Flexmonster manually?

Resolved
guest asked on December 10, 2016
I'm trying to implement Flexmonster in Angular 1.5.8 inside Gridster.js widgets. It works perfectly until I resize the widget, at which point Flexmonster won't rerender itself to fit the new size of the widget. Is there a function that I could call to rerender Flexmonster manually? If I change the data inside Flexmonster, it rerenders and fills the entire new size of the surrounding widget. I can send a callback function to Gridster to fire every time after the user has resized it, so this would be the place to call such a function. Any other workaround is also welcome if you have ever run into a similiar case.

1 answer

Public
Roman Petrusha Roman Petrusha Flexmonster December 10, 2016

Hi!
Please try the following methods from API:
refresh - this method redraws the whole component 
showGrid - turns component to the grid mode and draws the grid view
showCharts - turns component to the chart mode and draw the chart view
Does it work for you?
Regards,
  Roman

Please login or Register to Submit Answer