BrainGrid Controller
Window
Enumerations

Enumerations

An enumeration (enum) is a predefined list of options, like a dropdown. You define the options once in the Enumeration section, then drag and drop the enum onto any window canvas to create a dropdown field there.

Viewing Enumerations

Navigate to the Enumeration section in BrainGrid to see all enumerations defined in the system.

List of enumerations

Click the arrow next to any enumeration to expand it and view its options.

Expanded enumeration showing options

Adding an Enumeration

  1. Click + Add Enumeration.
  2. Enter a name for the enum (e.g. Status, Priority).
  3. Add the options one by one (e.g. Open, Closed, Pending).
  4. Click Save.
Add new enumeration

Editing an Enumeration

  1. Hover to the enumeration.
  2. Select Edit.
  3. Update the name or add / remove options.
  4. Click Save.
Edit and delete enumeration options

Using an Enumeration on a Window Canvas

Once an enumeration is created, drag and drop it onto any window canvas to add it as a dropdown field.

  1. Open the target window in the canvas.
  2. From the Enumeration section, drag the enum.
  3. Drop it onto the canvas.
  4. Click Publish to apply the changes.
Drag and drop enumeration onto canvas

The enum now appears as a dropdown field on the canvas.

Enumeration as a dropdown on the canvas

The same enumeration can be reused across multiple windows. Any update to the enum options is reflected everywhere it is used.

Archive & Restore

Delete an Enumeration

  1. Hover to the enumeration.
  2. Select Delete and confirm.

The enumeration moves to the Archive and is not permanently removed.

Enumeration archive section
⚠️

Deleting an enumeration removes the dropdown from all windows where it was used. Restore it to bring it back.

Restore an Enumeration

  1. Open the Archive section.
  2. Find the enumeration.
  3. Click Restore.
Restore enumeration from archive

The enumeration returns to the active list and is available to use on canvases again.