A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/Grid.html below:

Grid—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

Grid[{{expr11,expr12,},{expr21,expr22,},}]

is an object that formats with the exprij arranged in a two-dimensional grid.

Details and Options Examplesopen allclose all Basic Examples  (3)

Display elements in a grid:

Put a frame around every element:

Use Text to format grid elements as text:

Scope  (42) Elements in Grids  (5)

Grid can contain elements of any size:

Grid can contain graphics or any other expressions:

Grid can contain active controls:

Create a grid with a single row:

Grid can be used to format grids with no rows, empty rows, or ragged rows:

Frames and Grid Lines  (5)

Put a frame around the whole grid:

Put a frame around every element:

Draw all the frames in red:

Put a frame around the first row and column:

Draw different frames with different styles:

Put dividers at all horizontal positions:

Put dividers at all vertical positions:

Put dividers at the third horizontal and second vertical positions:

Spanning Elements  (3)

Make the element 4 span the column to its right:

Make it span three columns:

Make the element 2 span the row below it:

Make it span three rows:

Span throughout a 2×2 block:

Alignment  (2)

Align contents to the left:

Align contents to the right:

Styling  (21) Background Colors  (13)

Draw the grid with a light blue background:

Make the first columns light blue and gray:

Make the first rows light blue and gray:

Make all rows except the first one gray:

Make the first and last rows light blue:

Use a repeating pattern for rows:

Make the first row gray, then a repeating pattern of none and light blue:

Highlight the final column:

Combine a final column highlight with a repeating row pattern:

Highlight a specific column using its column index:

Specify colors for the first two rows, and then additional rows using a column index:

Specify rows as a repeating pattern with an exception specified with its row index:

Make the first column and last column light blue:

Item Styles  (8)

Set the font color of the individual items to be red:

Specify a style for the first column:

Specify a style for the first row and column:

Specify a complex style for the first row:

Set all item contents to be blue, except for the first row:

Alternate styles by row:

Alternate complex styles by row:

Embed styling options with a particular grid item:

Spacing  (4)

Make each row and column just big enough to fit the items they contain:

Leave the same amount of space for all items:

Set the horizontal spacing between items:

Set the horizontal and vertical spacings:

Options  (36) Alignment  (2)

Align elements around the center of the grid:

Align numbers on the decimal point:

AllowedDimensions  (1)

Create a grid that can have between 2 and 4 columns and between 3 and 5 rows:

Background  (7)

Draw the grid with a pink background:

Pink and gray backgrounds for the columns at the first and second horizontal positions:

An equivalent syntax:

Pink and gray backgrounds for the rows at the first and second vertical positions:

Alternating pink and gray backgrounds:

Alternating backgrounds with yellow superimposed in the first and last positions:

Blending of colors:

Set the background for specific items:

Set the background for a subregion of the grid:

BaselinePosition  (3)

Align the center of the grid with the baseline of surrounding text:

Align the bottom of the grid with the baseline:

Align a specific grid element with the baseline:

Dividers  (3)

Draw all interior dividers:

Draw a divider at every other horizontal position:

Include the final position:

Draw dividers with specified styles:

Frame  (4)

Frame the entire grid:

Frame all elements in the grid:

Frame specific elements:

Frame a region:

FrameStyle  (3)

FrameStyle supports a variety of graphics directives:

FrameStyle is applied to all sources of grid lines, including Dividers and Item:

Directives given with FrameStyle are combined with those specified elsewhere:

ItemSize  (4)

Make each item a fixed number of character-widths wide:

ItemSize->All makes all items the same size:

ItemSize->Automatic line-wraps textual items at the page width:

Prevent line-wrapping:

ItemStyle  (5)

Set one overall style for grid items:

Use Directive to wrap multiple style directives:

Use a style from the current stylesheet:

Style specific elements:

Style a region:

Spacings  (4)

Insert no additional space between rows or columns:

Insert no additional space between rows:

Specify spacing with numeric values:

Use different spacings at the first vertical divider:

Applications  (2)

A simple user interface layout:

Presenting tabular data:

Properties & Relations  (1)

The elements of a Grid can be extracted with Part:

Possible Issues  (2)

Styles given in a list will be interpreted as corresponding to successive columns or rows:

Directive groups styles into a single collective unit:

To span across both rows and columns requires appropriate use of SpanFromBoth:

Neat Examples  (3)

A visual design:

A Sudoku grid:

Create a random arrangement of spanning rows and columns:

Wolfram Research (2007), Grid, Wolfram Language function, https://reference.wolfram.com/language/ref/Grid.html (updated 2012). Text

Wolfram Research (2007), Grid, Wolfram Language function, https://reference.wolfram.com/language/ref/Grid.html (updated 2012).

CMS

Wolfram Language. 2007. "Grid." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/Grid.html.

APA

Wolfram Language. (2007). Grid. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Grid.html

BibTeX

@misc{reference.wolfram_2025_grid, author="Wolfram Research", title="{Grid}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/Grid.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_grid, organization={Wolfram Research}, title={Grid}, year={2012}, url={https://reference.wolfram.com/language/ref/Grid.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4