Grid
Shows data using rectangular elements and offers support for paging. It helps to build apps to display product information as a media gallery.
Last updated
Shows data using rectangular elements and offers support for paging. It helps to build apps to display product information as a media gallery.
Last updated
Provide the JSON content to generate the grid dynamically. The fields in the JSON array include-
The value that sets the number of elements to be displayed as columns in the grid or list. This is applicable when the widget is in 'Grid mode'.
This refers to the variable name of the index of the grid items, which usually defaults to i.
Only for development purposes
Only for development purposes
Refers to the variable name for the object, points to the grid items, consisting of the image cover URL, title, and rating. This is usually named as currentItem
.
The number field enables the user to input the page number to jump to the desired page directly.
Allows users to hide the pagination section if the grid contains only a single page.
The value that decides the number of items to be displayed on the widget in total. It is set to the total count of the items in the array when it is dynamic.
This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.
Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied.
The number value sets the padding space between the rows. The default row height is 100, and it can be increased to add more space between the rows.
Tooltips display additional information upon mouse hover. This information will be contextual, useful, and informative. The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves.
Displays the mouse scrollbar when users scroll the list using the mouse. The scrollbar will not be visible, but the list will scroll if this setting is not toggled on.
Displays a borderline at the bottom of each grid item, visually separating the items.
Property | Description |
---|---|
Property | Description |
---|---|
Property | Description |
---|---|
Auto
The height is auto-adjusted for the content
Fixed
The height of the widget is fixed and will not adjust to the content
Background
Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.
Box Shadow
The is the colour of the shadow that is generated behind the widget box. The X and Y axis values can be altered such that the shadow can be set to fall anywhere behind the widget area. "x-offset" - a positive number specifies the shadow will be on the right of the box, and a negative number will put the shadow on the left of the box. "y-offset" - a negative one means the shadow will be above the box, and a positive number means the shadow will be below the box. "Blur" - if the number is set to 0 then the shadow will be sharp. It will more blurred as the number goes higher, and the shadow will extend further away. "Color" - sets the colour of the shadow. If the colour is not set, the box shadows are drawn in the foreground colour.
Border Color
Set the colour to the border lines. The border lines will be shown only if that is enabled.
Border Radius
This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.
rate
title
url
The URL link to redirect when the user clicks on the grid element
cover
Grid
List
Togged ON
Toggled OFF
Expects a number value to fill the rating stars
The title text for the grid element
A valid URL reference to the image to be shown as the media content for the element
Displays the elements as a tabular grid
Displays the content as a list view
Specify the options to dissect the page size dynamically
Specify the page size that will fix the count of elements to be shown on each page