jQuery UI Widgets › Forums › Layouts › Docking › Change from 2 to 1 Docking-Zone when the windows resizes
Tagged: Angular docking, bootstrap docking, javascript docking, jquery docking, jqwidgets docking, jqxDocking, one column, orientation vertical
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 8 years, 10 months ago.
Good afternoon,
I have a docking with two parallel docking-zones just like in the “Default Functionality”-demo.
I would like to change that automatically to only one docking-zone when the windows is smaller than a certain size, e.g. for tablets in portrait-mode.
Any ideas how to achieve this?
Thanks and best regards from Germany, 74bit
Hello 74bit,
Thank you for using our product. You could use $(window).resize() event and could add inner $('#docking').jqxDocking({ orientation: 'vertical' });
$(window).resize()
$('#docking').jqxDocking({ orientation: 'vertical' });
Best Regards, Hristo Hristov
jQWidgets team http://www.jqwidgets.com
You must be logged in to reply to this topic.