# Themes and Visual Classes: Grid Properties

> Source: https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes-vc-grid

This table lists all the ***Grid*** properties:

| **Property** | **Description** |
| --- | --- |
| **Attributes** |  |
| *Auto Track* | Controls the automatic tracking of the contents of a grid relative to movement of the scrollbars (vertical/horizontal).<br>By default, when a scrollbar position is changed by dragging the "thumb", the grid will ***not*** follow the movement until the thumb is released. This reduces the screen re-draw overhead within the system but does not allow the user to view the data during the scroll operation. This property controls whether the grid is to be updated while the thumb is being moved -- in effect having the grid contents track the thumb position.<br>Click the drop-down arrow for available selections:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Default* \| Default setting is *No tracking*. \|<br>\| *No tracking* \| The grid will not track thumb movements. \|<br>\| *Track vertical scrollbar* \| The grid will track thumb movements on the vertical scrollbar. \|<br>\| *Track horizontal scrollbar* \| The grid will track thumb movements on the horizontal scrollbar. \|<br>\| *Track both scrollbars* \| The grid will track thumb movements on both scrollbars. \|<br>*(Auto Track property was added in PxPlus 2018.)* |
| *Borderless* | Control has no border or frame. |
| *Enter Mode* | Defines how the ENTER key will be processed for the grid. Click the drop-down arrow for available selections:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Default* \| Default setting is *Normal*. \|<br>\| *Normal (Edit)* \| Normal processing (edits cell). \|<br>\| *Move right, exit last column* \| Move right across a grid by column, exit on last column. \|<br>\| *Move right, wrap* \| Move right across a grid by column, wrap to first column of next row, exit on last column of last row. \|<br>\| *Move down, hold at bottom* \| Move down by row, hold on last row. \|<br>\| *Move down, return to top* \| Move down by row, return to column 1, hold on last row. \|<br>*(Enter Mode property was added in PxPlus 2018.)* |
| *Grid Auto Column Size* | Controls the automatic adjustment of column sizes so that the total space occupied by the columns will fill the control width. Click the drop-down arrow for a list of available selections: *As is*, *Off, On*.<br>When this property is set to ***On***, the system will adjust all columns in the control so that the sum of the column widths will completely fill the control width exclusive of any scrollbars that may be present. Once set, any resizing of the control will again re-apply the automatic columns sizing logic. When adjusting the column sizes, the system will compute the new size based on percentages.<br>***Example:***<br>Suppose that a grid has three columns: Column 1 is 40 pixels wide, Column 2 is 10 pixels wide, and Column 3 is 50 pixels wide.  <br>  <br>If this grid has *Auto Column Size* enabled, it would determine that Column 1 was 40% of the total column width, Column 2 was 10%, and Column 3 was 50%. These columns would each be adjusted based on the total width of the control to retain the same percentages. Therefore, if the grid itself was 150 pixels wide, Column 1 would become 150\*40%=60 pixels, Column 2 would become 150\*10%=15 pixels, and Column 3 would become 150\*50%=75 pixels.<br>*Grid Auto Column Size property was added in PxPlus 2018.)* |
| *Grid Hide Buttons* | Hides query buttons or drop box icons associated with grid cells if there is a bitmap (thus, the bitmap is all that shows on a transparent background).<br>*(Grid Hide Buttons property was added in PxPlus 2020.)* |
| *Grid lines* | Controls the display of lines for the grid. Click the drop-down arrow for available selections:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Default* \| Default setting is *Full grid*. \|<br>\| *No lines* \| No horizontal and vertical lines. \|<br>\| *Full grid* \| Both horizontal and vertical lines. \|<br>\| *Vertical lines* \| Vertical lines only, no horizontal lines. \|<br>\| *Horizontal lines* \| Horizontal lines only, no vertical lines. \|<br>*(Grid lines property was added in PxPlus 2018.)* |
| *Header Height* | Controls the height of the grid header in pixels.<br>Setting this property to -1 restores the height to its default size. Setting this property to 0 results in no header.<br>*(Header Height property was added in PxPlus 2020.)* |
| *Row Height* | Number of lines high per row of grid. Valid values are >= 1. Allow for word-wrap. Can also be set to -1 to use the default row height for the grid.<br>*(Row Height property was added in PxPlus 2020.)  <br>(Support to allow a setting of -1 was added in PxPlus 2024.)* |
| *Suppress Header* | Suppress grid headers. Possible values are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| 0 \| Headers not suppressed. \|<br>\| 1 \| Row header suppressed (left side). \|<br>\| 2 \| Column header suppressed (top). \|<br>\| 3 \| Both headers suppressed. \|<br>Suppression is done by setting the header height/width to 0. When not suppressed, the height/width will return to the last value.<br>*(Suppress Header property was added in PxPlus 2021.)* |
| *Tab Mode* | Defines how the TAB key will be processed with the grid control. Click the drop-down arrow for available selections:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Default* \| Default setting is *Normal (Exit)*. \|<br>\| *Normal (Exit)* \| Normal processing (exits grid). \|<br>\| *Move right, exit last column* \| Move right across a grid by column, exit on last column. \|<br>\| *Move right, wrap* \| Move right across a grid by column, wrap to first column. \|<br>\| *Move down, hold at bottom* \| Move down by row, hold on last row. \|<br>\| *Move down, return to top* \| Move down by row, return to column 1, hold on last row. \|<br>*(Tab Mode property was added in PxPlus 2018.)* |
| **Colors** |  |
| *Click the dotted Query button or double click inside the cell 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>*After a color property is set, a tick in the selected color displays in the top left corner. A floating tip with a sample of the selected color displays when hovering the mouse over the color setting.*<br>*(The color tick and color tip were added in PxPlus 2018.)  <br>(The Color Selections Query button and dialog were added in PxPlus 2020.)* |  |
| *Background* | Background color of the control in its default state. |
| *Button Color* | Background color for system-generated buttons in a grid, including Drop Box buttons and Query buttons.<br>This property will also be applied to cells with the **['Lock](https://manual.pvxplus.com/properties/lock)** property set to 1 only when creating a **["Button"](https://manual.pvxplus.com/directives/grid#Mark8)** cell type, providing that the **[BackColor$](https://manual.pvxplus.com/properties/backcolor)** property has not been set specifically for that cell.<br>*(Button Color property was added in PxPlus 2021.)* |
| *CB Mark Color* | Color of the check mark in the check box.<br>*(CB Mark Color property was added in PxPlus 2025.)* |
| *Current Cell Color* | Background color for the current cell.<br>*(Current Cell Color property was added in PxPlus 2018.)* |
| *Current Cell Text Color* | Text color for current cell.<br>*(Current Cell Text Color property was added in PxPlus 2024.)* |
| *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). |
| *Foreground* | Foreground text color of the control in its default state. |
| *Foreground Button Color* | Foreground text color for system-generated buttons in a grid, including drop box buttons and query buttons.<br>*(Foreground Button Color property was added in PxPlus 2024.)* |
| *Grid Hilight Color 1* | Background color - alternating rows. (Will not display if **[Background](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes-vc-grid#background)** is set to a color other than Default.)<br>*(Grid Hilight Color 1 property was added in PxPlus 2018.)* |
| *Grid Hilight Color 2* | Background color - alternating three rows. (Will not display if **[Background](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes-vc-grid#background)** is set to a color other than Default.)<br>*(Grid Hilight Color 2 property was added in PxPlus 2018.)* |
| *Header Background Color* | Background color for the ***top row only*** (Row -1) and does ***not*** affect the leading left column (Colno -1).<br>*(Header Background Color property was added in PxPlus 2018.)* |
| *Header Line Color* | Color of the border lines drawn between columns when the **['ExcelStyle](https://manual.pvxplus.com/properties/excelstyle)** property is set for the ***top row only*** of the grid (Row -1) and does ***not*** affect the leading left column (Colno -1).<br>*(Header Line Color property was added in PxPlus 2025.)* |
| *Header Text Color* | Color of the text for the ***top row only*** (Row -1) and does ***not*** affect the leading left column (Colno -1).<br>*(Header Text Color property was added in PxPlus 2018.)* |
| *Line Color* | Color of the lines drawn between rows and columns.<br>*(Line Color property was added in PxPlus 2020.)* |
| *Row Header Background Color* | Background color for the ***leading left column only*** (Colno -1) and does ***not*** affect the top row (Row -1).<br>*(Row Header Background Color property was added in PxPlus 2024.)* |
| *Row Header Line Color* | Color of the border lines drawn between rows when the **['ExcelStyle](https://manual.pvxplus.com/properties/excelstyle)** property is set for the ***leading left column only*** of the grid (Colno -1) and does ***not*** affect the grid top row (Row -1).<br>*(Row Header Line Color property was added in PxPlus 2025.)* |
| *Row Header Text Color* | Color of the text for the ***leading left column only*** (Colno -1) and does ***not*** affect the top row (Row -1).<br>*(Row Header Text Color property was added in PxPlus 2024.)* |
| *Track Color* | Header cells corresponding to a cell that currently has focus are switched to the color set by this property as the user moves around the grid. This provides a visual cue to the user for which column and row they are on currently. Only header cells that use their default color will change to the tracking color.<br>*(Track Color property was added in PxPlus 2018.)* |
| **Colors (States)** |  |
| *CB Disable Mark Color* | Color of the check mark in the disabled check box.<br>*(CB Disable Mark Color property was added in PxPlus 2025.)* |
| *Lock Background Color* | Background color when the cell is locked.<br>*(Lock Background Color property was added in PxPlus 2024.)* |
| *Lock Button Color* | Background color for locked system-generated buttons in a grid, including drop box buttons and query buttons.<br>*(Lock Button Color property was added in PxPlus 2025.)* |
| *Lock Foreground Button Color* | Foreground text color for locked system-generated buttons in a grid, including drop box buttons and query buttons.<br>*(Lock Foreground Button Color property was added in PxPlus 2025.)* |
| *Lock Text Color* | Foreground text color when the cell is locked.<br>*(Lock Text Color property was added in PxPlus 2024.)* |
| **Font** |  |
| *Font* | Click the dotted Query button or double click inside the cell to specify font properties and attributes such as *Bold*, *Italics*, etc.<br>See **[Font Properties](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/font-properties)**.<br>*(The Use 'Font Name' only check box option was added in PxPlus 2025.)* |
| *Header Font* | Defines the font for the ***top row only*** (Row -1) and does ***not*** affect the leading left column (Colno -1).<br>See **[Font Properties](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/font-properties)**.<br>*(Header Font property was added in PxPlus 2018.)  <br>(The Use 'Font Name' only check box option was added in PxPlus 2025.)* |
| **Other** |  |
| *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)**.<br>*(iNomads Class property was added in PxPlus 2020.)* |

## See Also

**[Themes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes)**  
**[Visual Classes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes)**
