These features have been deprecated in Appway 7 and will be removed in Appway 9 or later. This means that you can currently still use these features, but should plan to phase them out. For more information on deprecation and on suggested actions, see
Feature Removal and Deprecation Planned with Appway 7.0.
Appway's Grid Screen Component allows you to create dynamic, grid-based layouts. What are dynamic, grid-based layouts? Basically, these are Screen layouts that are built using many individual Screen Components that are arranged on the Screen independently from each other. This allows Appway to rearrange them, based on the size of the browser window. Here's an example:

The colored blocks represent individual elements on your screen. On a wide window, they take up the full width of the window. But if you resize the window to be more narrow, they don't overlap the window borders. Instead, they rearrange themselves to fit into the smaller window.
So how do you create these? Fortunately, it's quite easy, since Appway does most of the work for you.
Start out by creating a new Screen in Appway, and dropping a "Grid" element into it. This automatically also adds a Grid Cell element inside the Grid element.

Next, we want to look at the properties of these elements. But before we do that, we need to establish some basics of how Grid Layouts are built. Basically, Grid Layouts are based on a grid, hence the name. Each element inside the Grid (we call that a Grid Cell) occupies one or more blocks of this grid. Here's a picture to help explaining what the individual parts of a Grid Layout are called.

A Grid is made of a number of units. Each Grid Cell occupies one or more units. Based on this knowledge, let's look at the individual elements' properties.
The following properties are available:
- Max Unit Width – Usually, you don't want to grow your grid layout infinitely if the user continues making the screen wider. With the Max Unit Width, you can set how many units wide the Grid Layout should be at its highest. The default is set to six; if you leave it at six, your grid layout will never be wider than six units.
- Unit Width (px) – Using this property, you can set how wide (in pixels) each individual unit is. Depending on what you're going to put into your grid layout, wider or narrower units make sense.
- Unit Height (px) – Same as unit width, but this time, you're setting how high the individual units are. Note that setting the Unit Width and Unit Height to different values allows you to create non-square units.
- Animation – If this is checked, the Grid Layout will animate changes. So if the user resizes the window, the Grid Cells will "fly" across the screen to their new positions.
The following properties are available:
- Vertical Units – This property sets how many units tall the given Grid Cell is.
- Horizontal Units – Same as above, for width. Setting both Vertical Units and Horizontal Units to '1' makes the Grid Cell occupy a single unit. This Grid Cell's width will be equal to the Unit Width, and its height equal to the Unit Height.
- Scroll – If Scroll is set, the Grid Cell will receive a scroll bar. If not set, content larger than the Grid Cell is hidden. This property allows you to use Grid Cells to show lists, or other things that are larger than the Grid Cell itself.
This Appway Archive contains an example of a working Grid Layout. Simply import it into your Appway installation, and run the screen: GridExample.awexport
A sidenote about one of the techniques used in this example: Grid Cells themselves can't by styled. In order to create the colored cells in the example, add a div to each cell, and set the following styles:
- position:absolute
- top:0
- left:0
- right:0
- bottom:0
This creates a div inside the Grid Cell that exactly occupies the Grid Cell. Now you can style that div to get the cell to look the way you want to.