Layout

Dependencies

  • panel
  • resizable

Usage Example

Create Layout

Create Layout via markup. Add 'easyui-layout' class to <div/> markup.

Create layout on whole page.


Collpase Layout Panel

Add west region panel with tool buttons

 

Layout Panel Options

Name Type Description Default
title string The layout panel title text. null
region string Defines the layout panel position, the value is one of following: north, south, east, west, center.
border boolean True to show layout panel border. true
split boolean True to show a split bar which user can change the panel size. false
iconCls string An icon CSS class to show a icon on panel header. null
href string An URL to load data from remote site. null

Methods

Name Parameter Description
resize none Set the layout size.
panel region Return the specified panel, the 'region' parameter possible values:'north','south','east','west','center'.
collapse region Collapse the specified panel, the 'region' parameter possible values:'north','south','east','west'.
expand region Expand the specified panel, the 'region' parameter possible values:'north','south','east','west'.
add options Add a specified panel, the options parameter is a config object, see tab panel properties for more details.
remove region Remove the specified panel, the 'region' parameter possible values:'north','south','east','west'.