BrainGrid Controller
Window creation
Fields Ordering

Order Fields in Window and Reflect in Data Table

This documentation covers the sorting of fields within a window and how these changes are reflected in data listings.

Sorting Fields in a Window by Drag and Drop

Users can rearrange fields in a window using drag and drop functionality.

Example:

Given a user named "John Doe" is on the window creation canvas for the window "Employee Details," and the window has fields "employee_id," "name," "department," "email," and "phone_number" in that order:

  • Action: John Doe rearranges the fields by dragging and dropping "email" above "department."
  • Result: The fields in the window "Employee Details" are updated to "employee_id," "name," "email," "department," and "phone_number."
💡

The updated field order should be reflected in the window.

Saving the Window with Ordered Fields

After sorting fields, users need to save the window to maintain the new order.

Example:

Given a user named "John Doe" has ordered the fields in the window "Employee Details" to "employee_id," "name," "email," "department," and "phone_number":

  • Action: John Doe saves the window.
  • Result: The window "Employee Details" is saved with the ordered fields, and the updated field order is maintained in the system.

Viewing Data Table with Ordered Fields

Changes in the field order should be reflected in data listings.

Example:

Given a user named "John Doe" has ordered the fields in the window "Employee Details" to "employee_id," "name," "email," "department," and "phone_number," and there are existing employee records in the system:

  • Action: John Doe views the data listing for "Employee Details."
  • Result: The fields are displayed in the order "employee_id," "name," "email," "department," and "phone_number."
💡

The data for each employee should be displayed in the corresponding columns according to the ordered order.