Closed alisabri closed 9 years ago
Hi again, I managed to make it work by totally closing current panel and creating new one with same id and new content. If there is way to make it without closing could you please comment on that direction ?
Regards
As of version 2.4.0 there is a method resize( width, height ) available. Please refer to the API documentation for details: http://jspanel.de/api/method/resize
resize( width, height ) can be called on jsPanels not minimized. For minimized panels it doesn't really make sense. If you want to "normalize" a minimized panel programatically you could do this like ...
var panel = $.jsPanel();
jsPanel.normalize(panel);
Thanks Stefan
Forget something: To "normalize" programatically you can of course use also
var panel = $.jsPanel();
panel.normalize();
Hi Stefan, Is there any way to resize a panel (which is already appended dom) as if it is created new ? For the moment I save panel object as data(to dom) and then later trying to use object methods but no success so far. Appreciate any advice.
Regards