Attaching Panels to Layout Regions

Panels (forms, grids and so on) are attached to specific layout regions using attributes of the <panel> element. The layout attribute references the id of an existing layout, and the region attribute references one of the child elements (north, south, east west or center) of that layout. Note that the layout attribute need only be specified if multiple layouts have been specified in the AXVW.

<panel type="grid" id="fl_report" dataSource="ds_tree"

layout ="mainLayout" region ="west">
<panel type="grid" id="rm_report" showOnLoad="false" dataSource="ds_content"
layout ="nestedLayout_1" region ="north">
<panel type="form" id="rm_form" showOnLoad="false" columns="1" dataSource="ds_details"
layout ="nestedLayout_1" region ="center">

File: solutions/assemblies/find-manage/ab-ex-rm-find-manage-3-panels.axvw

Multiple panels can use the same layout region name or id, in which case they will be stacked vertically inside the same region.

When referencing layout region by id, use the layoutRegion attribute of the panel:

<view version="2.0">
<title translatable="true">Dashboard Example</title>
<layout file="dashboard-1-2-0.axvw"/>
<panel type="view" id="panel_row1col1" file="ab-ex-part-grid-project.axvw" layoutRegion ="row1col1"/>
<panel type="view" id="panel_row1col2" file="ab-ex-part-grid-wr.axvw" layoutRegion ="row1col2"/>
<panel type="view" id="panel_row2col2" file="ab-ex-part-grid-wo.axvw" layoutRegion ="row2col2"/>
</view>

File: solutions/dashboards/ab-ex-dashboard-1-2-0.axvw