Advanced Datagrid Component

Overview
The Advanced Datagrid is a Centauri (v1.0) layout component that, like the Data Grid component, lets you organize other components. The difference is that the Advanced Datagrid component displays other components in a modal.
Examples of when to use an Advanced Datagrid include the following:
-
Display entries in a dashboard.
-
Collect detailed prescription medication information.
-
Collect beneficiary information, including percentage calculations.
-
Build lists or combine other grids or tables into a single grid.
-
Use reference keys to reference other tables or grids, combining multiple types of information and layouts.
You'll find the Advanced Datagrid in the Display & Layout group to the left of the Module Builder.
About the Configuration Window
To learn more about general component settings, view our General Component Settings article.
Display Settings
Field Text
Setting | Description |
---|---|
Label Text |
Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. User-friendly labels make your module more accessible. Keep labels short and descriptive (a word or two) using title case. For longer entries, use sentence case. |
Default State Options
Setting | Description |
---|---|
Disable User Input |
Prevents the end-user from entering a value in the field by displaying it as grayed-out and unclickable in Express View. By default, Disable User Input is set to (OFF). |
Draft Save |
Set to (ON) to let end-users save a draft. By default, this setting is set to off (OFF). |
Hide Label |
Displays or hides the Label field from view. Setting Hide Label to (ON) hides it in Express View. Setting it to (OFF) displays the field. The component will always remain visible in the Module Builder. By default, Hide Label is set to (ON). |
Hide Component |
Shows or hides the component. Set Hide Component to (ON) to hide it in Express View. The component will always remain visible in the Module Builder. By default, this setting is set to (OFF). |
Modal Formatting
Setting | Description |
---|---|
Modal Title |
Enter a title for the pop-up modal. |
Modal Message |
Lets configure a pop-up modal message that displays a submission's progress. By default, the message reads: Loading please wait.... |
When to reset the form |
Choose when to restore the form to its default values:
|
Fullscreen |
Expands your modal screen to the full width and height of the window. By default, this setting is set to off (OFF). |
OK Button Label |
A button displays at the bottom left of your modal in Express View. This field lets you choose the label text of the button. By default, this button label text displays as OK. |
Save Button Label |
A button displays at the bottom left of your modal in Express View. This field lets you set the button label text of the button. By default, this button label text displays as Save. |
Grid Formatting
Setting | Description |
---|---|
Delete Title |
Enter title for the modal that displays when deleting an entry in Express View. By default, the modal displays the following: Are you sure you want to delete this item?. |
Delete Text |
This modal displays if end-users select Confirm Deletion and try to delete an entry. By default, the message reads: Are you sure you want to delete this item? |
Title for Save Confirmation Alert |
When your end-user saves an invalid entry an error message displays. This field lets you set a title for that error message. |
Message for Save Confirmation Alert |
When your end-user saves an invalid entry an error message displays. |
Save Event |
Lets you create an event for your save confirmation modal. |
Message While Saving |
Enter a message that displays when an entry saves. By default, the message reads: Saving... |
Cancel Button Label |
Sets the button label text for the Cancel button. By default, this button label text displays as Cancel. |
Action Label |
Sets the button label text for the Action button. By default, this button label text displays as Actions. |
Add Button Label |
Sets the button label text for the Add button. By default, this button label text displays as Add. |
Edit Button Label |
Sets the button label text for the Edit button. By default, the button label text displays as Edit. |
Delete Button Label |
Sets the button label text for the Delete button. By default, the button label text displays as Delete. |
View Label |
Sets the button label text for the View button. By default, the button label text displays as View. |
Additional Settings
Setting | Description |
---|---|
Confirm Deletion |
When set to (ON), a pop-up modal displays when deleting an entry in Express View. By default, this setting is set to (OFF). |
Show Yes/No Instead of Delete/Edit |
When set to (ON), the grid displays Yes/No options instead of the default Delete/Edit buttons. By default, this setting is set to (OFF). |
Show Select Option Instead of Add/Edit |
When set to (ON), this checkbox lets you display a Select option instead of the default Add/Edit buttons. By default, this setting is set to (OFF). |
Remember Scroll Position |
Stores the page and vertical scroll position of the Advanced Datagrid component. When enabled, the component remembers the last place scrolled to on the grid. By default, this setting is set to (OFF). |
Display Inline Rows |
The Advanced Datagrid component defaults to a table style in the Express View. By default, this setting is set to (OFF). |
Default First Row to Open |
When set to (ON), the component automatically opens the first row of the accordion in Express View. By default, this setting is set to (OFF). |
Show the Save Button in the Accordions |
When set to (ON), displays a Save button in each row of the grid. By default, this setting is set to (OFF). |
Show a Modal for Confirmation of Save |
When set to (ON), a pop-up modal displays, confirming a save action. By default, this setting is set to (OFF). |
Hide Table When Empty |
Hide the grid in Express View when there's no data in it. By default, this setting is set to (OFF). |
Adding an Advanced Datagrid Component
In this example, you'll set up an Advanced Datagrid component with a few components for data entry. In Express View, your end-user can add, edit, or delete data as needed. These instructions assume that you have an open module saved with a title.
Configure the Advanced Datagrid Component
Configure an Advanced Datagrid component to contain your information fields.
1. | In the Module Builder, drag and drop an ![]() |
2. | In the Property ID field, enter adgApplication . |
3. | In the Label Text field, enter Application. |
4. | Navigate to the Display setting's Grid Formatting section. |
5. | In the Add Button field, enter Add Applicant. |
6. | Navigate to the Data settings. |
7. | In the Display table, enter the following: |
ID | Heading | |
---|---|---|
1 |
firstName |
First Name |
2 |
lastName |
Last Name |
3 |
|
|
4 |
phoneNumber |
Phone Number |
You'll configure the components that match these values in later steps.
8. | Click Save Component. |
Configure the Text Field Components
Configure two Text Field components for your first and last name fields.
1. | Drag and drop two Text Field components inside of the adgApplication ![]() |
2. | For each component, enter the following Property ID and Label Text values: |
Property ID |
Label Text |
---|---|
firstName |
First Name |
lastName |
Last Name |
3. | Click Save Component as you add each component. |
Configure the Email Component
Configure an Email component to gather email addresses from your end-users.
1. | Drag and drop an ![]() ![]() |
2. | In the Property ID field, enter email |
3. | In the Label Text field, enter Email. |
4. | Click Save Component. |
Configure the Phone Number Component
Configure a Phone Number component to gather phone number data from your end-users.
1. | Drag and drop a ![]() ![]() ![]() |
2. | In the Property ID field, enter phoneNumber. |
3. | In the Label Text field, enter Phone Number. |
4. | Click Save Component |
5. | Save your module. |
Preview your module in Express View to see the following functionality:
Resources