Developing Apama Applications > Building Dashboards > Reusing Dashboard Components > Working with multiple display panels > Using old tags to configure the panels in a window > Using grid panels
Using grid panels
The tags described in this topic are deprecated. They will be removed in a future release. Your should change to the new tags. See Using new tags to configure the panels in a window.
Use the GridPanel tag to arrange panels into a specified number of rows and columns. Display Server deployments do not support grid layout.
This tag supports the following attributes:
columns
Sets the number of columns in the grid. If the number of columns is not specified, it will be calculated based on the number of RTViewPanels and the specified number of rows.
rows
Sets the number of rows in the grid. If the number of rows is not specified, it will be calculated based on the number of RTViewPanels and the specified number of columns.
title
Set the title of the main window.
Here is an example:
<?xml version="1.0" ?>
<panels xmlns="www.sl.com" version="1.0">
<GridPanel title="Test of Grid Panels" rows="0" columns="3">
  <RTViewPanel name="detail1" display="small_panel" subs="$title:'101'"/>
  <RTViewPanel name="detail2" display="small_panel" subs="$title:'102'"/>
  <RTViewPanel name="detail3" display="small_panel" subs="$title:'103'"/>
  <RTViewPanel name="detail4" display="small_panel" subs="$title:'201'"/>
  <RTViewPanel name="detail5" display="small_panel" subs="$title:'202'"/>
  <RTViewPanel name="detail6" display="small_panel" subs="$title:'203'"/>
</GridPanel>
</panels>
When you create displays for use in grid panels, the height and width of each display must be the same. To set the height and width of a display in the Dashboard Builder, select File | Background Properties and set the Model Width and Model Height. If you are using a background image for your display, create the image so that the height and width of the image are one pixel larger than the size you want the display to be.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.