Title: totally hide a layout region Post by: jimmywon on March 05, 2014, 01:16:48 AM Is possible to hide a region of layout totally?
example, I wanna hide east region, include collapsible button, header-panel, panel-body,... (when hidden, don't occupy any space) then program to collapse, expand the region. Title: Re: totally hide a layout region Post by: stworthy on March 16, 2014, 07:15:24 PM Please download the updated layout plugin from http://www.jeasyui.com/easyui/plugins/jquery.layout.js and include it to the page.
To hide the ease region panel, please use the code below. Code: var c = $('#cc'); Title: Re: totally hide a layout region Post by: korenanzo on December 11, 2014, 01:49:56 AM To hide the ease region panel, please use the code below. Code: var c = $('#cc'); Hi, this code does not work if the panel is collapsed. Title: Re: totally hide a layout region Post by: stworthy on December 11, 2014, 07:31:54 AM Please try the extended 'open' and 'close' methods instead.
Code: $.extend($.fn.layout.methods, { Usage example: Code: $('#cc').layout('close', 'east'); // close the east region panel |