# Grid Properties

> Source: https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties

When creating or editing a *Grid* control, the **Grid Properties** dialogue (pictured below using the **[Folder Style](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/folder-style/using-the-folder-style)** version of the NOMADS designer) is displayed:

![](https://manual.pvxplus.com/migration-assets/f0bda778ee5a7747fb86b48edad9e178ee53204a8d086ddc220fd723d96e53d9.jpg)

This dialogue is divided into the following tabbed panels for viewing and/or changing Grid properties: **[Display](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#display)**, **[Font/Color](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#font)**, **[Attributes](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#attributes)**, **[Logic](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#logic)**, **[User Aids](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#useraids)**, **[Presets](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#presets)**, **[Cell Logic](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#celllogic)** and **[Query](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#query)**.

|  |  |
| --- | --- |
| *Name* | Unique name of the Grid control (NOMADS provides a default). Naming conventions for variables apply. Click the Browse Library button to copy parameters from an existing object (via the **[Library Browse](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/drawing-and-modifying-panel-objects/library-browse)** dialogue).<br>Note:  <br>When a new control name is entered, it will be checked against the [Reserved Words](https://manual.pvxplus.com/reserved-words) list to determine if it is restricted for use as a NOMADS control name. If it is found, a warning message will display.  <br>  <br>(User Reserved Words Maintenance was added in PxPlus 2020.) |
| *Class* | Used with NOMADS **[Object-Oriented Programming](https://manual.pvxplus.com/nomads-graphical-application/program-interaction/object-oriented-programming/overview)**. Click the Query button (binoculars) to select a predefined class. |
| **Preview** | Displays how the visible properties of the control will appear at run time. |
| **Display** |  |
| **Position** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Column* \| Starting column for the top left corner of the control - numeric expression. Format mask is ##0.00. Valid entries are 0 to 620. \|<br>\| *Line* \| Starting line for the top left corner of the control - numeric expression. Format mask is ##0.00. Valid entries are 0 to 255. \|<br>*(Support for increased Column and Line maximums was added in PxPlus 2021.)* |
| **Size** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Width* \| Width of the control in number of columns - numeric expression. Format mask is ##0.00. Valid entries are 0 to 620. \|<br>\| *Height* \| Height of the control in number of lines - numeric expression. Format mask is ##0.00. Valid entries are 0 to 255. \|<br>*(Support for increased Width and Height maximums was added in PxPlus 2021.)* |
| **Attributes** | Optional attributes for *Tab Stop, Initially Hidden* and *Initially Disabled*. See **[Attributes](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#attributes)**. |
| **Font/Color** |  |
| **Font Specification** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Font  <br>Size* \| Click the drop-down arrow for a list of selections. \| |
| **Color** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Foreground  <br>Background* \| Click the Query button to access **[Color Selections](https://manual.pvxplus.com/nomads-graphical-application/appendix/color-selections)**. Valid formats for color selections include predefined system colors (e.g. Light Red), Custom (RGB codes), HTML Hex Color Codes, User Defined colors (e.g. Color17) and string Expressions. \|<br>\| *Fill Color* \| Defines the color to be used to fill in the empty regions of a Grid (blank space to the right and below the Grid). Click the Query button to access color selections. \|<br>\| *Line Color* \| Color of the lines drawn between rows and columns of a Grid. Click the Query button to access color selections. \|<br>*(The Line Color property, the Color Selections Query button and Color Selections dialog were added in PxPlus 2020.)* |
| **Attributes** | Optional attributes. |
| **Visual Class** | Assign a visual class to the control.<br>Click the Visual Class Maintenance button to launch the **[Visual Classes Maintenance](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes#vcutility)** utility for creating or editing visual classes.<br>To assign visual classes to controls at the ***library*** level, see **[Visual Class Assignment](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/visual-class-assignment)**.<br>Note:  <br>Visual class names that begin with an "\*" (asterisk) are pre-defined visual classes used by PVX Plus and may be subject to change without notice.<br>*(The Visual Class Maintenance button was added in PxPlus 2019.)* |
| **iNomads Class** | Assign an iNomads class to the control. The iNomads class contains class attribute references used when defining the control in the HTML code generated in iNomads. An iNomads class reference must start with an alpha character (A-Z or a-z), followed by any combination of A-Z, a-z, 0-9, underscore or dash. Multiple references may be entered, separated by a space.<br>For a list of pre-defined classes, see **[iNomads Classes](https://manual.pvxplus.com/inomads/inomads-classes)**. |
| **Attributes** |  |
| **Attributes** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Tab Stop* \| Adds the control to the tab order list. Allows use of the **Tab** key for moving to the control. \|<br>\| *Auto Tab Skip* \| Control is skipped when tabbing forward but is still accessible via **Shift - Tab** or the mouse. \|<br>\| *Initially Disabled* \| Control region is grayed out and is not accessible to the user for input. The control is accessible programmatically. \|<br>\| *Initially Hidden* \| Control is not displayed but is accessible programmatically. \|<br>\| *Borderless* \| The control is drawn with no border or frame. \|<br>\| *Strip Trailing Spaces* \| Strip trailing spaces when reading/writing data. \|<br>\| *Signal On Exit* \| A signal is generated when focus leaves the control whether the selection or value has changed or not. NOMADS will execute the On Change logic. \|<br>\| *Enable Scrolling* \| Allows control to scroll in a resizable/scrollable dialogue box. See **[Panel Resizing](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/resizing-and-persistence/panel-resizing)**. \|<br>\| *Grid Lines* \| Excel type grid: ***Off*** = No grid lines, ***On*** = Lines. \|<br>\| *Resizable* \| The user is able to resize grid columns or rows. \|<br>\| *Automatic (Signal All Changes)* \| A signal is returned on any changes in the control. \|<br>\| *Row Refresh* \| NOMADS will read and update the contents of a row using column names (via **['RowData$](https://manual.pvxplus.com/properties/rowdata)** and **['LoadIOList$](https://manual.pvxplus.com/properties/loadiolist)** properties).<br>Note:  <br>Turning on this property will disable the No Cell Refresh property. \|<br>\| *No Cell Refresh* \| NOMADS will not update a cell using the value in the control name; i.e. it will not issue a **GRID WRITE**. \|<br>\| *Ignore Change Flag* \| Select this check box when you do ***not*** want the NOMADS **[CHANGE_FLG](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#reserved)** variable to be updated when the control value is changed. \|<br>\| *Format* \| Button that launches the **Grid Format Definition** dialogue for defining Grid columns, including title, width, alignment, cell type, column name and column separator. See **[Formatting a Grid](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/formatting-a-grid)**. \|<br>*(The Ignore Change Flag property was added in PxPlus 2017.)* |
| **Load Options** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Smart Load  <br>(formerly Auto Load)* \| Select this button to set up a Smart control that will self-load based on a query definition. See **[Smart Controls](https://manual.pvxplus.com/nomads-graphical-application/smart-controls/overview)**. \|<br>\| *Background Loading* \| Load logic to execute while there is no user input. Select *Background Loading* and then click the *Logic* button to add/edit logic. See **[Background Loading](https://manual.pvxplus.com/nomads-graphical-application/program-interaction/event-handler-routines/background-loading)**. \|<br>Note:  <br>Smart controls are *not* compatible with Background Loading logic.<br>*(Support for enhanced Smart Load capability was added in PxPlus 2018.)* |
| **Other** | \|  \|  \|<br>\| --- \| --- \|<br>\| *Alt-Key* \| Hot key for the control. Click the drop-down arrow for a list of selections. \|<br>\| *User-Defined Tag Field* \| For controls, data/tag field which can be used to pass information on such things as formatting, error messages or validation rules. Field contents are placed in a variable using the control name with a .TAG$ extension. \|<br>\| *Object Persistence* \| Sets **[Object Persistence](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/resizing-and-persistence/object-persistence)**. Object size, location and format information (if applicable) is saved on termination of a panel and restored the next time the control is drawn. Click the drop-down arrow for a list of selections:<br>*Default*<br>Set via global variable<br>*Always*<br>***On***, overriding global activation<br>*Never*<br>***Off***, overriding global activation \| |
| **Logic** |  |
| *Default Program* | Displays the name of the **[Default Program](https://manual.pvxplus.com/nomads-graphical-application/panel-designer/panel-header/overview#display)** used in the Panel Header definition.<br>*(The Default Program was added for display in PxPlus 2019.)* |
| **Post Create** | Logic to be processed after the control is drawn. Click the drop-down arrow for a list of selections. See **[Events Logic](https://manual.pvxplus.com/nomads-graphical-application/program-interaction/events-logic/overview)**.<br>Click the Program Logic button beside the *Perform* or *Call* action to launch the default program editor, which is typically the **[\*IT - Integrated Toolkit](https://manual.pvxplus.com/toolkit1/overview)**. To make **[Ed+](https://manual.pvxplus.com/ed-program-editor)** the default program editor, change the setting for the **[%NOMADS'Program_Editor](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#programeditor)** property to *Ed+*.<br>*(The ability to set Ed+ as the default program editor was added in PxPlus 2023.)* |
| **When Receiving Focus** | Logic to execute when the control receives focus. Click the drop-down arrow for a list of selections. See **[Events Logic](https://manual.pvxplus.com/nomads-graphical-application/program-interaction/events-logic/overview)**.<br>Click the Program Logic button beside the *Perform* or *Call* action to launch the default program editor, which is typically the **[\*IT - Integrated Toolkit](https://manual.pvxplus.com/toolkit1/overview)**. To make **[Ed+](https://manual.pvxplus.com/ed-program-editor)** the default program editor, change the setting for the **[%NOMADS'Program_Editor](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#programeditor)** property to *Ed+*.<br>*(The ability to set Ed+ as the default program editor was added in PxPlus 2023.)* |
| **On Change** | Logic to be executed when focus leaves the control or the state of the control has changed. Click the drop-down arrow for a list of selections. See **[Events Logic](https://manual.pvxplus.com/nomads-graphical-application/program-interaction/events-logic/overview)**.<br>Click the Program Logic button beside the *Perform* or *Call* action to launch the default program editor, which is typically the **[\*IT - Integrated Toolkit](https://manual.pvxplus.com/toolkit1/overview)**. To make **[Ed+](https://manual.pvxplus.com/ed-program-editor)** the default program editor, change the setting for the **[%NOMADS'Program_Editor](https://manual.pvxplus.com/nomads-graphical-application/appendix/nomads-variables/overview#programeditor)** property to *Ed+*.<br>*(The ability to set Ed+ as the default program editor was added in PxPlus 2023.)* |
| **User Aids** |  |
| **Help Reference** | Help text to be invoked at run time by pressing Shift - F1 while focus is on a control.<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Type* \| Select from *External* or *Internal* help types:<br>*External*<br>***(Default)*** Standard Windows help system consisting of a help *File Name* (.*html*, .*hlp*, .*doc*, etc.) and an optional *Keyword* or *Reference* number (*Fixed* value or string *Expression*).<br>*Internal*<br>Application supplied message text (*Fixed* value, string *Expression* or *Message Library Reference*). \|<br>\| *File Name* \| Name of the help file. \|<br>\| *Keyword* \| Indicates that the text in the adjacent field is the index entry for the topic in the indicated help file. \|<br>\| *Reference* \| Indicates that the adjacent field contains the reference number for a specific topic in the context sensitive help. \|<br>\| *Popup* \| Select this check box to display the help topic as a popup rather than as an independent window. \|<br>\| *Test* \| Tests the current help settings. \| |
| **Floating Tip** | Mouse pointer message for the control (*Fixed* value, string *Expression* or *Message Library Reference*).<br>You can customize the floating tip by adding a tip title, descriptive tip text and a hyperlink. These features enhance the visual display and functionality of the tip by providing users with much needed information at their fingertips. You can define either a *Standard* tip or an *HTML* tip that provides a simplified HTML Editor for customizing the tip text. To do this, click the button to the right of the **Floating Tip** multi-line input to invoke the **Define Info Tip** dialogue. See **[Defining an Info Tip](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/defining-an-info-tip)**.<br>Note:  <br>The Floating Tip drop box and multi-line input cannot be changed once an [HTML](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/defining-an-info-tip#tiptype) tip has been defined.<br>***NOMADS Wiki Help***<br>The floating tip text can be used when displaying the **[Wiki Help](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/nomads-wiki-help)**. Info tips, however, are not supported and will be ignored.<br>*(Support for customizing Floating Tips was added in PxPlus 2016.)  <br>(Support for the use of Floating Tip text in the Wiki Help was added in PxPlus 2023.)* |
| **Message Bar** | Text to be displayed in the panel's status bar when focus is on the control (*Fixed* value, string *Expression* or *Message Library Reference*). |
| **Presets** |  |
|  | Set up attributes that will be assigned to columns, rows or individual cells. See **[Presets Definition](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/presets-definition)**.<br>For a list of available properties that can be applied to the entire grid, a cell, column or row, see **[Grid Properties](https://manual.pvxplus.com/control-object-properties/grid-properties)**.<br>![](https://manual.pvxplus.com/migration-assets/f9f9c6a0102a1b86109a00abd5e16b45e5c6231f6fa195076b4987016af3a335.jpg)<br>*(New Grid preset functionality and usability enhancements were added in PxPlus 2019.)* |
| **Cell Logic** |  |
|  | Assign logic that is specific to a particular cell, column, or row. Logic events - On Focus, On Change, Formatting and Validation. See **[Independent Cell or Row Logic](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/independent-cell-or-row-logic)**. |
| **Query** |  |
| **Query Type** | Type of query to associate to the control: *Panel, Query Program, Non-Query Logic*. Valid formats include a NOMADS query object or query list, a custom query panel, or user-supplied query program.<br>Depending on the *Query Type* selected, different information is entered. For an explanation of each type and the information to enter, see **[Query Type](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/query-subsystem/invoking-a-query#querytype)**<br>If setting up the Grid as a ***Smart*** control (see **[Smart Load](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/grid-control/grid-properties#attributes)** attribute above), you can define a query for the Smart control. See **[Defining Smart Controls](https://manual.pvxplus.com/nomads-graphical-application/smart-controls/defining-smart-controls)**. |
|  |  |
| *Security* | Assign security classifications and access levels. See **[Restricting Access](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/security-manager/restricting-access)** for information on **Object Security Definition**. |
| *Groups* | Assign the control to a group. See **[Group Assignment](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/maintaining-library-objects/group-assignment)**. |
| *Popup Menu* | Associate a popup menu that will appear when you right-click the mouse over the selected control.<br>To define a popup menu, see **[Popup Menu](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/popup-menu/overview)**.<br>To add a system popup menu to any Grid, see **[List Box and Grid System Popup Menu](https://manual.pvxplus.com/nomads-graphical-application/creating-panel-controls/popup-menu/list-box-and-grid-system-popup-menu)**. |
| *Notes* | Add notes/comments for the control. Maximum 1024 characters. These notes also display in the Wiki Help documentation for the panel. See **[NOMADS Wiki Help](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/nomads-wiki-help)**.<br>*(The Notes button was added in PxPlus 2023.)* |

## See Also

**[GRID Properties](https://manual.pvxplus.com/control-object-properties/grid-properties)**  
**[GRID Directive](https://manual.pvxplus.com/directives/grid#Mark3)**
