Data Types and Tools
Overview
BrainGrid provides a variety of data types and tools to help users create and manage data-driven applications efficiently. This document details the available data types and tools, and how users can interact with them on the BrainGrid canvas.
Data Types and Tools
Wrapper
A container element used to group other elements together. It helps in organizing the layout and structure of the canvas.
Usage: Drag and drop the Wrapper onto the canvas to contain and organize multiple elements within it.
Table
A structured data representation element that displays data in rows and columns.
Usage: Drag and drop the Table onto the canvas to display tabular data.
Multi-Instance
Allows for the creation of multiple instances of a particular element.
Usage: Drag and drop the Multi-Instance onto the canvas to enable multiple instances of the chosen element.
Plain Text
A simple text display element.
Usage: Drag and drop Plain Text onto the canvas to display static text.
Common Inputs
- Text: For single-line text input.
- Float: For floating-point number input.
- Number: For integer input.
- Signature: For capturing user signatures.
- Date: For date input.
- Time: For time input.
- Datetime: For date and time input.
- Email: For email address input.
- Telephone: For telephone number input.
- URL: For web address input.
Info: Widely used datasets throughout the system
Color Picker
A tool for selecting colors.
Usage: Drag and drop the Color Picker onto the canvas to allow users to choose colors.
Switch
A toggle switch for binary choices.
Usage: Drag and drop the Switch onto the canvas for on/off functionality.
Checkbox
A box that can be checked or unchecked.
Usage: Drag and drop the Checkbox onto the canvas to provide a selectable option.
Textarea
A multi-line text input field.
Usage: Drag and drop the Textarea onto the canvas for larger text input areas.
Text Editor
A rich text editor for formatted text input.
Usage: Drag and drop the Text Editor onto the canvas to enable rich text formatting.
CAPTCHA
A security feature to ensure the user is human.
Usage: Drag and drop CAPTCHA onto the canvas to add a verification step.
HR Line
A horizontal line used for separation.
Usage: Drag and drop the HR Line onto the canvas to visually separate sections.
Custom Formula
Allows the creation of custom formulas.
Usage: Drag and drop Custom Formula onto the canvas to create and apply formulas.
Static Image
A tool to display static images.
Usage: Drag and drop Static Image onto the canvas to display an image.
Image Input
Allows users to upload images.
Usage: Drag and drop Image Input onto the canvas to enable image uploads.
Document Input
Allows users to upload documents.
Usage: Drag and drop Document Input onto the canvas to enable document uploads.
Internal Fields
These are the fields that has relationship with the config tables
- System User: Displays information about the system user.
- User Department: Displays the department of the user.
Usage: Mostly used to associate windows with the login information.
User Interactions
Viewing Data Types and Tools
Users can view all available data types and tools by navigating to the BrainGrid canvas. The canvas will display a list of elements that can be dragged and dropped for use.
Dragging and Dropping Elements
Users can drag and drop any data type or tool onto the canvas to add it to their layout. Once added, elements can be configured and customized as needed.
Configuring Properties
After adding elements to the canvas, users can interact with them to configure their properties or settings. This includes setting input fields, defining constraints, and adjusting the layout.
Conclusion
BrainGrid's diverse set of data types and tools offers flexibility and efficiency in building data-driven applications. Users can easily customize their applications by dragging, dropping, and configuring these elements on the BrainGrid canvas.