The “Grid List” is used to display large amount of tabular data. It is a better choice over tables if you want to display the data from multiple columns. The data grid displays the data uniformly if the schemas and sorting are important for comparison.
|When to use|
|Provide a data grid in the banking and other enterprise level apps where the user needs to collate the variety of data and browse reports frequently.|
Grid List Configuration
The “Grid List” element consists of the following property:
- UI Configuration
On the “Grid List” element, you can configure the following UI properties:
|Tab||Property Name||Description||Mandatory||New Default Value||Visibility Rule|
|Basic||Reference Name||Specifies a unique name of the element. At the application level, an element is identified and managed by the reference name.||Yes||List View1|
|Basic||Count in Row||Allows you to configure the maximum number of items that a row can have in the grid list.||No||2|
|Basic||Item Height||Allows you to define the permissible height of the item in the grid.||No||200|
|Basic||Input Source||This property allows you to configure the source location for the following purposes:|
â€“> Fetch data from the source and the display it on the element.
You can click one of the following tabs to configure the input source:
1) Data Store:-
If you select this tab, the Input Value box appears. In the Input Value box, select an entity based array type JSON object. After you select an array type JSON object, the application will access the object and then perform one of the following functions:
â€“> Fetches data from the object and displays it in the element
If you select this value, the Input Value box appears. In the Input Value box, enter the static value that you want to display in the list.
|Basic||Input Value||Click in this box and then select an array type object. After you select the object, the application will perform one of the following functions:|
–> Fetch data from the object and then display it in the element.
|Yes||If Input Source = Static|
|UI Properties||Styles||Allows you to select a specific style for the element from the list of pre-defined styles. The vDesigner module offers pre-defined styles that you can apply to the element||No|
|Click the Color box and then select a color to define the background color of the tile.||No||#161616|
|UI Properties-Background||Opacity||Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.|
While configuring the color, you can also configure the opacity in the percentage unit.
|UI Properties-Background||Elevation||This property allows you to configure the elevation of the background. The elevation is measured as the relative distance between two surfaces along the Z-axis.|
|UI Properties-Alignment and Spacing||Margin||Allows you to desirably define margin around each side of the component. It provides four different boxes to define the margin outside the right, left, top, and bottom border of the component.||No||Null|
|UI Properties-Alignment and Spacing||Horizontal Spacing||Allows you to configure the distance between the item and the grid’s right and left edges.||No||10|
|UI Properties-Alignment and Spacing||Vertical Spacing||Allows you to configure the distance between the item and the grid’s top and bottom edges.||No||10|
|UI Properties-Shape and Decoration||Type||Under the Shape and Decoration section, this property has the two following options:|
Autofill:- If you select this option, you cannot change the element’s dimensions. When you drag the element to the canvas, this option is selected by default.
If you select Auto Fill, vDesigner places the element with the default dimensions.
Manual:- If you select this option, you can change the dimensions of the element.
|UI Properties-Shape and Decoration||Width Value||Allows you to define the width of the element. Enter the width of the element in the pixel unit or percentage unit.||No||Blank|
|UI Properties-Shape and Decoration||Height Value||Allows you to define the height of the element. Enter the height of the element in the pixel unit.||No||Blank|
|UI Properties-Shape and Decoration||X||Allows you to move the element along the X-axis; when the value increases, the element moves from left to right.||No||Current position along the x-axis|
|UI Properties-Shape and Decoration||Y||Allows you to move the element along the Y-axis; when the value increases, the element moves from top to bottom.||No||Current position along the x-axis|