Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.
Responsive Grid
The Responsive Grid includes one (or more) divisions which house other components. These divisions are responsive, adjusting to the size of the screen. You can set divisions to display either as a vertical stack or a horizontal row; the row will adjust to a reduction in screen size by stacking the divisions.
Using the Responsive Grid
Use the Responsive Grid to organize the page for the best possible user experience. of asking the end user to scroll down to see additional components, for example, let the components sit beside one another.
Bring flexibility to the page layout by adding a Responsive Grid.
Then format it:
- Add division to the Responsive Grid and configure the grid layout in the properties pane layout tab.
- Use the Layout and Styles tabs to format how the grid looks on screen, where the divisions sit within the grid, and the overall spacing both within and around the Responsive Grid component.
- Add Interactions to the grid.
- Drag and drop components into each division.
- Then edit the Division properties to customize how each division displays within the grid.
Grid components are also a great way to ensure that one Nintex Apps page will work on both desktop and mobile. If using the component for this purpose, be sure to test the Nintex Apps page on smaller screen sizes.
Best Practices
- To control the size of the item within a division (and manage the amount of white space within the grid), set a division's Minimum and Maximum width.
- To achieve greater control over page layout and content wrapping, try using Grids within Grids.
Properties
Component properties
-
Main Axis: Determines how to align the Responsive Grid divisions.
Note:The Ink Responsive Grid has a variety of values to represent the relationships of divisions within the grid. The easiest place to start? Try:
- Main axis: Row
- Justify content: Left
- Align divisions: Top
-
Row: Aligns divisions in a row.
-
Justify divisions: Determines how the row of grid divisions will justify along a left-right axis.
Note: Useful to locate the divisions within the grid when they have both maximum and minimum width set.
- Left (default): Divisions are justified with the left margin of the grid.
- Center: Divisions are justified in the center of the grid.
- Right: Divisions are justified with the right margin of the grid.
- Space Between: Divisions are evenly spaced within the grid, with the first division justified to the left margin and the last division justified to the right margin.
- Space Around: Divisions are evenly spaced within the grid. There is spacing between the first division and the left margin, and between the last division and the right margin.
- Stretch: Stretches the division's contents to fit the division's full width.
-
Align divisions: Determines where divisions sit within the grid, positioning them along a top-to-bottom axis.
- Top ( default ): Divisions are aligned with the top of the grid.
- Middle: Divisions are aligned along a center left-right axis of the grid.
- Bottom: Divisions are aligned with the bottom of the grid.
- Stretch: Stretches the division's contents to fit the division's full height.
-
-
Column: Stacks division on top of one another.
-
Justify divisions: Determines how the stacked grid divisions will justify along a top-to-bottom axis.
Note: Useful to locate the divisions within the grid when they have both maximum and minimum width set.
- Top ( default ): Divisions are justified along the top of the grid.
- Middle: Divisions are justified in the center of the grid.
- Bottom: Divisions are justified along the bottom of the grid.
- Space Between: Divisions are evenly spaced within the grid, with the first division justified to the top margin and the last division justified to the bottom margin.
- Space Around: Divisions are evenly spaced within the grid. There is spacing between the first division and the top margin, and between the last division and the bottom margin.
- Stretch: Stretches the division's contents to fit the division's full height.
-
Align divisions: Determines where divisions sit within the grid, positioning them along a left-right axis.
- Left (default): Divisions are aligned with the left margin of the grid.
- Center: Divisions are aligned along the center top-to-bottom axis of the grid.
- Right: Divisions are aligned with the right margin of the grid.
- Stretch: Stretches the division's contents to fit the division's full width.
-
-
Column gutter size (optional): The distance between divisions when they are displayed as columns, side-by-side. ( Typically affects devices with larger screens, such as desktops. )
- None
- Extra Small
- Small
- Reduced
- Regular
- Increased
- Large
- Extra Large
- Huge
-
Row gutter size (optional): The distance between divisions when they are stacked as rows atop one another. ( Typically affects smaller screen sizes or mobile devices. )
- None
- Extra Small
- Small
- Reduced
- Regular
- Increased
- Large
- Extra Large
- Huge
- Unique ID (optional): Nintex Apps automatically generates an alphanumeric ID for the component; if preferred, give it a practical name.
-
ARIA label: Determines what description will be read by assistive technology, such as screen readers, by setting the aria-label HTML attribute, which is part of the Web Accessibility Initiative—Accessible Rich Internet Applications (WAI-ARIA) spec.
Used to describe elements where text may not be visible, this property can be a specific string of text, the merge variables of one or more fields, or a combination of the two.
-
ARIA role: Determines which type of user interface element the component represents for assistive technology. The available options all refer to standard landmark ARIA roles. For more technical information on each role type, refer to MDN web docs.
- Banner: Used for defining global site details, such as company name, global search, logos, and similar information.
- Complementary: Used for content that, while related to the main content area, is not necessary for that main area to stand alone. Typically used for sidebars and other supplementary information.
- Content Info: Used for footers that appear on each page, which typically contain copyright information, navigation items, or similar content.
- Form: Used to identify sections that comprise a singular form--even though it may be comprised of multiple components.
- Main: Used to identify primary focus of the page.
- Navigation: Used to indicate a section containing links for navigating a site.
- Region: Used as a more generic landmark in order to indicate an area is relevant, but not categorized under the other available roles.
- Search: Used to indicate a section contains elements for searching the page or site.
- ARIA labelledby: Determines which component contains text describing this element for assistive technologies. Can point to Header or Text components. For more technical information, see MDN web docs on the aria-labelledby attribute.
Click
Add interaction then select:- Action type: Determines the type of user interaction that triggers the action script.
In the
More Options menu on the selected interaction, click Add action, then edit the Action Type:- Action Type: Use the Action Framework to launch actions.
-
Style variant: Style variants are created and set in the Design System Studio. Some components have pre-defined variants for a specific aspect of a component's style. Also, Nintex Apps builders can style and customize elements to create their own themes within the DSS. These themes will dynamically populate as selectable values in the Style Variant dropdown menu.
Note:To refresh available style variant options, click
Refresh style variants.This is useful for when changes to the design system (like style variants or variable options) have been made in another browser window or by another user.
-
Margin: Sets a component's margin (the space around it) relative to other components on the page.
- To set margins for all sides, click All.
- To set margins for each side individually, click Separate.
Margin values can be set to any configured spacing variable for the page's design system. Margin cannot be set an arbitrary value; it must use a design system variable.
Background type: This controls the appearance of the Responsive Grid's background.
-
Default
-
Image: Pulls in an image from a Nintex Apps connection.
- Connector: Select the connector from which you will be pulling the image.
Note: Select "Ui-Only" for images associated with Ui-Only models.
-
Connection: Choose the specific connection containing the desired image. (Defaults to "Ui-only" for Ui-only models.)
-
Image Source:
-
File:
- File Name: If the file has been correctly uploaded, when you start typing the filename, Nintex Apps will autocomplete.
-
URL: To access an image URL using Nintex Apps, you must change the connection and connector:
- Connector: UI-Only.
- Connection: UI-Only.
- Image Source: URL
- Model: It is not necessary to specify a model. However, if using merge fields for the URL, setting the model provides the needed model row context.
- Image URL: Enter the complete URL.
-
URL:
- Model: Nintex Apps presents a list of available Models in the dropdown, and selects one for this field, but you can change it.
- Image URL: The URL field. The user can select a URL field from the model, enter the complete URL, or use a global merge value to identify the URL.
Note: While the latter two options do not require a model to be specified, when using merge fields for the URL, setting the model provides the needed model row context.
-
-
Size: Control the size of the image.
- Original: The image will display at its original size, without regard to the size of the Responsive Grid.
- Contain: The image will scale so that it will at least meet the top and bottom margins of the Responsive Grid.
- Cover: The image will scale so all parts of the Responsive Grid's background are covered by the image.
-
Position: Choose the orientation of the image within the Responsive Grid.
-
Repeat: Determine if the image will repeat vertically, horizontally or both.
- No Repeat
- Horizontal
- Vertical
- Both
-
Special effects: Add special effects to Responsive Grid image.
- No effects
- Parallax means that, when scrolling, the contents in the grid will scroll over the image
-
Color: Background color behind image. Defaults to transparent.
- Click the transparent symbol to open color the selection menu.
-
Color: Choose a color to serve as Responsive Grid background. Defaults to transparent.
- Click the transparent symbol to open color the selection menu.
-
Height strategy:
-
Fit to Content: This sizes the Responsive Grid to fit the components within.
-
Max height ( optional ): The maximum height of the Responsive Grid component. Options are:
-
None
-
Short
-
Medium
-
Tall
-
Custom: Uses a custom height.
- Custom height: Set using a number and a sizing unit.
-
-
Min Height ( optional ): The minimum height of the Responsive Grid component. Options are:
-
None
-
Short
-
Medium
-
Tall
-
Custom: Uses a custom height.
- Custom height: Set using a number and a sizing unit.
-
-
-
Fixed Height: Sets an absolute height.
-
Height:
-
Fit to Content
-
Short
-
Medium
-
Tall
-
Custom: Uses a custom height.
- Custom height: Set using a number and a sizing unit.
-
-
-
-
Overflow: Determines how content is handled when it overflows the grid's height.
- Scroll: The content is scrollable and a scroll bar is displayed.
- Hide: The content that does not fit into the Responsive Grid remains hidden.
- Show: The Responsive Grid resizes the content to fit into the Responsive Grid's height.
Standard display logic options are available to display or hide the component or feature.
Nested elements
Responsive Grid divisions
Click on any Division header text within the grid to access its properties:
-
Flex ratio: This sets the size of this division relative to other divisions. For example, if there are two divisions in a grid, and the flex ratio for each is 1, they will each take up ½ of the grid. If one has a flex ratio of 2, and the other has a flex ratio of 1, the first one occupies ⅔ of the grid, and the second one occupies ⅓ of it.
-
Minimum width: Sets a minimum width for the division. This governs division wrapping on smaller screens: when the minimum width is exceeded, the grid division will stack above or below other divisions. This can be specified using px, em, rem, %, vh, or vw measurements.
Note:- Em, %, vh, or vw are more responsive to screen size.
- Ensure the division's minimum width is at least as wide as its contents.
-
Maximum width: Sets a maximum width for the division.This can be specified using px, em, rem, %, vh, or vw measurements.
-
Align self: Sets a separate alignment for the selected division.
Note: This setting supersedes the alignment set for all divisions in the Responsive Grid properties, Layout Tab.
- Top (default): Divisions are aligned with the top of the grid.
- Middle: Divisions are aligned along a center left-right axis of the grid.
- Bottom: Divisions are aligned with the bottom of the grid.
- Stretch: Stretches the division's contents to fit the division's full height.
-
ARIA label: Determines what description will be read by assistive technology, such as screen readers, by setting the aria-label HTML attribute, which is part of the Web Accessibility Initiative—Accessible Rich Internet Applications (WAI-ARIA) spec.
Used to describe elements where text may not be visible, this property can be a specific string of text, the merge variables of one or more fields, or a combination of the two.
-
ARIA role: Determines which type of user interface element the component represents for assistive technology. The available options all refer to standard landmark ARIA roles. For more technical information on each role type, refer to MDN web docs.
- Banner: Used for defining global site details, such as company name, global search, logos, and similar information.
- Complementary: Used for content that, while related to the main content area, is not necessary for that main area to stand alone. Typically used for sidebars and other supplementary information.
- Content Info: Used for footers that appear on each page, which typically contain copyright information, navigation items, or similar content.
- Form: Used to identify sections that comprise a singular form--even though it may be comprised of multiple components.
- Main: Used to identify primary focus of the page.
- Navigation: Used to indicate a section containing links for navigating a site.
- Region: Used as a more generic landmark in order to indicate an area is relevant, but not categorized under the other available roles.
- Search: Used to indicate a section contains elements for searching the page or site.
- ARIA labelledby: Determines which component contains text describing this element for assistive technologies. Can point to Header or Text components. For more technical information, see MDN web docs on the aria-labelledby attribute.
- Change order: Click to move this division left or right in the grid.
- Unique ID (optional): Nintex Apps automatically generates an alphanumeric ID for the grid division; if preferred, give it a practical name.
Deep dive
Want to learn more about flexbox, the CSS layout model Nintex Apps uses to support responsiveness in Ink components, including the Grid? Visit the MDN's Flexbox guide.