You have to go through a three-step form wizard to enable this
Control, i.e., Design, API & Advance. Let’s explain these
steps below:
1st Step – Design
Database Field Name (mandatory): Defines the name of the database field to which the component's data will be mapped and stored.
Label Name (mandatory): Specifies the display name or title for a field or control in the user interface.
Column Width: Specifies the width of a column in a layout or grid system, allowing control over how much space the column occupies relative to others.
2nd Step – API
Data
Data Source: Select the data source from the following options: HTTP, Workflow, No SQL, or RDBMS.
HTTP: Configuration for using HTTP as the data source.
Data Connection: Specify the data connection settings.
Method (mandatory): Select the HTTP method from GET, PUT, POST, PATCH, DELETE, or POCO.
API URL (mandatory): Enter the endpoint URL for the API.
Query Parameters: Configure the query parameters for the API.
Key: The parameter name.
Value: The parameter value.
Query Variable: Variable used in the query.
Select Type: Specify the parameter type.
Headers: Define the HTTP headers to include in the API request.
Name: Header name.
Value: Header value.
Others: Additional settings for the API request.
Enable raw query: Enable or disable raw query support.
Response Attribute: Specify the attribute in the API response to bind data.
Paging Type: Select the pagination type, either Server Side or Client Side.
Server Side: Configure server-side pagination settings.
From Param: Parameter to indicate the starting record.
Page Size Param: Parameter for specifying the page size.
API Field for Total Counts (Optional): Specify the API field that provides total record counts.
Server Pagination View: Choose the server pagination style, either Load More or Number Type.
Number Type: Settings for number-based pagination.
Show Pagination: Enable or disable pagination display.
Show Pagination Top: Show pagination controls at the top.
Show Pagination Bottom: Show pagination controls at the bottom.
Page Size Options: Define the available page size options.
Show Total Count: Display the total record count.
Total Count Label: Label for the total record count display.
Page Size: Specify the number of records per page.
Map With Data Model Property: If enabled, no API or client data is required, and the grid binds from the Page get API.
Is API Result Nested: Indicate whether the API result is nested.
Primary Key: Specify the unique identifier for each record.
Refresh Component On Close: Reload the component when it is closed.
Mapping
Field Mapping: Click on the "Add New" button to map the required number of fields in the grid. Use the refresh button to reload the API response, then configure the following fields:
Binding: Define the data bindings for the fields.
Header: The header text displayed for the column.
Data Field: Specify the field name from the API response.
Data Type: Select the data type, such as None, Date, Title, Image, or Link.
Show Icon Only: Enable or disable showing only the icon without text.
Icon Margin: Define the margin around the icon.
Column Width: Set the width for the column.
Text Alignment: Align text to the left, right, or center.
Is Multi Row Text?: Specify if the text spans multiple rows.
Advance: Additional column settings.
Hide Column: Enable to hide this column from the grid.
Style: Apply custom styles to the column.
Enable Nested Data? Enable nested data support for the grid.
Nested Collection Field (mandatory): Specify the collection field that contains nested data.
Field Mapping: Click "Add New" to map fields for nested data, refresh the API response, and configure the following:
Display Name: The display name for the nested field.
Binding Field: Specify the field name for binding nested data.
Field Type: Choose the field type, such as None, Email, Date, Title, or Image.
Card Type (Mobile only): Specify the card type used for mobile views.
Action
Action Header: The header label for the action column in the grid.
Is action on last column: Specify whether the action button is placed in the last column.
Action Button View At: Select the view type for the action button, either Popover or Inline.
Actions: Click on the "Add New" button to configure actions based on requirements. Configure the following details:
Action: Configure the action properties.
Button Text: Text displayed on the action button.
Button Type: Select the button type from the dropdown menu.
Action Type: Choose the type of action, such as Sidebar, New Tab, Same Tab, Popup Window, Submit, Submit & Redirect, etc.
Primary Key: Specify the primary key for the action.
Redirect URL: Provide the URL to redirect after the action is executed.
Primary Key Node (optional): Specify the node for the primary key if needed.
Bind Action with Column: Bind the action with a specific column.
Column Name: The name of the column to bind the action.
Web View: Configure settings for web view.
Web Name Type: Choose how the name is displayed, such as Name Only, Name & Icon, or Icon Only.
Web Icon: Specify the icon for web view.
Mobile View: Configure settings for mobile view.
Mobile Name Type: Choose how the name is displayed on mobile, such as Name Only, Name & Icon, or Icon Only.
Mobile Icon: Specify the icon for mobile view.
Advance: Additional action settings.
Mark As Default Action: Set this action as the default.
Action: Choose the action behavior, such as Hide, Show, Enable, or Disable.
Add Rule: Configure rules for the action.
Api Field: The field from the API response to apply the rule.
Operator: Specify the operator for the rule condition.
Value: Set the value to match the condition.
Action: Define the action to perform when the condition is met.
Is Value From DataModel? Indicate if the value comes from a data model.
Model Value From Another Form? Specify if the value is from a different form.
Set data model to page variable: Enable this to access the page variable on the sidebar.
Page variable: Define the variable name.
Type: Select Object or Array.
Array: Configure key-value pairs for the array.
Key: The key for the array element.
Value: The value for the array element.
3rd Step – Advance
Design
Default Image Url: This image will display if the image URL is missing in the data response.
Image Width: Set the width of the displayed image.
Image Height: Set the height of the displayed image.
Image Size: Select the size of the image from the dropdown menu.
Image Position: Specify the position of the image within the layout.
Is Circle Image: Enable or disable circular formatting for the image.
Action Column Width: Define the width of the action column.
Bootstrap Column Class: Specify the Bootstrap class for column styling.
Enable Select Column: Enable a selectable column for the grid.
Enable Export Link (Csv): Enable the option to export data in CSV format.
Export Page Size: Define the page size for the exported file.
Export File Dynamic Name: Specify a dynamic name for the exported file.
Do you want to remove header?: Specify whether to exclude the header from the exported file.
Do you want to remove Serial Number column?: Specify whether to exclude the serial number column from the exported file.
Enable Manage Column: Enable the ability to manage and configure grid columns.
Show Export Link (Pdf): Enable the option to export data in PDF format.
Export Page Size: Define the page size for the exported PDF file.
Enable Freeze Column: Enable the ability to freeze specific columns in the grid.
Enable Client Side Filter: Enable filtering capabilities on the client side.
Filter Placeholder: Set placeholder text for the filter input field.
Filter Columns Index: Specify the index of the columns to include in the filter.
Is odd even color row?: Enable alternate row coloring for better readability.
Others
Enable Update Link: Allow users to update records via a link.
Choose Update Form Id: Select the form ID to be used for updates.
Enable Group Collection: Group updated records into a specified field.
Group Field (mandatory): Define the field for grouping updated records.
Data Source: Select the data source from HTTP, Workflow, No SQL, or RDBMS.
HTTP: Configure HTTP-based data source.
Data Connection: Specify the connection details for the data source.