Custom Rows allows you to easily generate draggable rows from your application content, or other application content, without any design process or complex user interaction.
The row’s name:
A string of plain text that identifies the row.
Displayed in the row card when the row is shown in the Rows panel.
Included in the textual content used in searches
Set a row background image.
Properties:
background-image: valid image url
background-repeat: repeat | no-repeat
background-position: top | bottom + left | center | right
background-color: #c2c2c2 // CSS value
Set a row display condition. Check the display conditions documentation for further details.
Properties:
display-condition
type
label
description
before
after
Disable stacking on mobile. Set the value to “false” to disable stacking on mobile. If the value is “true”, or not provided, the columns will stack on mobile.
colStackOnMobile: true | false
List of the row columns. Each column type is identified with a weight parameter to indicate how much horizontal space they fill. We use a 12-column grid with the following values as available combinations:
12
9, 3
8, 4
6, 6
6, 3, 3
4, 8
4, 4, 4
3, 9
3, 3, 6
3, 6, 3
3, 3, 3, 3
All the columns weight inside a row must sum 12 as the total value.
See the example above in General Row Schema.
List of content modules inside a column
Every module is identified by a type parameter. Available types are:
title
paragraph
image
button
divider
HTML
Each module type has a set of available options. If none is included, the editor will use the default values.
title adds the text with the following attributes:
Font-size: 18px
Font-weight: Bold
Text-align: left
paragraph will use the following formatting:
Font-size: 14px
Text-align: left
text contains the string that will be displayed as content:
Must be a plain text string
Quotation marks must be escaped to be compliant with the JSON format
If not included, a default “Loren Ipsum” text string will be used
src image public URL
href Image action URL (link)
alt alternate text
dynamicSrc when added, the content applies the dynamic image behavior and uses the value as dynamic URL
text text string that will be displayed as the button content. Must be a plain text string.
If not included, a default text string will be used
href button action URL (link)
Currently there are no additional parameters.