Editors

<< Click to Display Table of Contents >>

Navigation:  Data Module > User Interface > Data Grid >

Editors

Various editors can be assigned to columns, but only certain editor types of  can be used with certain data types.  

All editors consider the size of the associated data type to ensure that data is not truncated or erroneous when saved.

 

Text Editor

Data_Interface_Grid_Cell_Text

Text editors are the most common editor type, simply displaying data (text or numbers) in a cell on a single line.

 

Spin Editor

Data_Interface_Grid_Cell_Spin

Spin editors can be used on columns with a numeric data type.

Values can be changed by:

typing values in-place

using the mouse scroll wheel

using the up / down buttons

 

Bar Editor

Data_Interface_Grid_Cell_Bar

Bar editors show numeric values graphically when edit mode is inactive.

In edit mode, the editor changes to either the Text or Spin type depending on the setup.

 

Memo Editor

Data_Interface_Grid_Cell_Memo

Memo editors allow the input of multiple lines of text defined by pressing the ENTER key.

This editor supports the use of the spell checker.

 

Check Editor

Data_Interface_Grid_Cell_Check

Check editors are used to represent true / false (or yes / no) data.

When the cell represents a gray box, this indicates that no value has been set:

Data_Interface_Grid_Cell_Check_Null

 

Date Editor

Data_Interface_Grid_Cell_Date

Date editors stored date values.

Values can be changed by:

typing values in-place

using the mouse scroll wheel

using the pop-up:

Data_Interface_Grid_Cell_Date_Popup

 

Time Editor

Data_Interface_Grid_Cell_Time

Time editors allow time values up to 24 hours to be input.

Values can be changed by:

typing values in-place

using the mouse scroll wheel

using the up / down buttons

 

Date / Time Editor

Data_Interface_Grid_Cell_DateTime

Date / Time editors stored combined date and time values.

Values can be changed by:

typing values in-place

using the mouse scroll wheel

using the pop-up:

Data_Interface_Grid_Cell_DateTime_Popup

 

 

Color Editor

Data_Interface_Grid_Cell_Color

Color editors allow users to set colors (stored as integers).

Values can only be selected through the pop-up:

Data_Interface_Grid_Cell_Color_Popup

Custom colors can be added by right-clicking the two bottom rows:

Data_Interface_Grid_Cell_Color_Custom

 

Lookup Editor

Data_Interface_Grid_Cell_Lookup

Lookup editors provide a list of predefined values stored in another table, with values typically being constrained by the database.  In some cases its acceptable to configure lookups to be suggested lists, allowing users to add values that are not in the list.

Selection

Selecting a value can be achieved in a few ways:

Values can also be typed in-place:

Data_Interface_Grid_Cell_Lookup_Typing

Clicking on the Button_Popup button will show the lookup list, where the user can select a value:

Data_Interface_Grid_Cell_Lookup_Popup

With the pop-up shown, typing will automatically filter the list:

Data_Interface_Grid_Cell_Lookup_Popup_Type

 

Hyperlink Editor

Data_Interface_Grid_Cell_Hyperlink

Hyperlink editors store links to a web page, email address, folder and file.

Double-clicking a URL in the data grid will open the link.

The link can be created by:

Drag & drop of a file/folder from Windows Explorer into the cell

Copy & paste the value into the cell

Clicking the Button_Ellipse button to show the Hyperlink Editor, then search for a file or folder:

Data_Interface_Grid_Cell_Hyperlink_Dialog

 

 

File Editor

Data_Interface_Grid_Cell_Picture

File editors are used with special file columns to store binary data.

Tools are shown once the cell is activated:

Data_Interface_Grid_Cell_Picture_Tools

View Picture - loads the full size image into a viewer
Data_Interface_Grid_Cell_Picture_Viewer

Take Picture - loads the Camera Control to take pictures using the devices camera
Data_Interface_Grid_Cell_Picture_Camera

Load - loads any file type from the file system

Save - saves a file from the database to the file system

Clear - removes file data from file column

 

 

Picture Editor (depreciated)

 

Data_Interface_Grid_Cell_Picture_Menu

Image editors provide the ability to save images in the database.

Right-clicking on the editor shows the contextual menu to load / save images.

Images can also be added by drag-and-drop of a file from Windows Explorer into the cell.

 

 

Description Builder

While the Description Builder is not an in-place editor, it is shown when clicking a Description column when a DESX column exists in the same table.

Data_Tools_Description Builder_Soil