= GridView
:page-section-summary-toc: 1

ifndef::snippets[:snippets: ../../../../../src/test/java/org/springframework/shell/docs]

_GridView_ is a special type of view and its purpose is to layout other views
using a grid layout algorithms. _GridView_ inherits from xref:tui/views/box.adoc[].

[source, java, indent=0]
----
include::{snippets}/GridViewSnippets.java[tag=snippet1]
----

Will result layout of:

[source, text]
----
┌───┬───┐
│   │   │
│   │   │
├───┼───┤
│   │   │
│   │   │
└───┴───┘
----

== Default Bindings
Does not have any default bindings.

== Events
Does not have any events.
