| Version: 3.2.8

Classes | Macros | Typedefs | Enumerations | Variables
grid.h File Reference

## Classes
class | wxGridCellRenderer
| This class is responsible for actually drawing the cell in the grid. More...
class | wxGridCellAutoWrapStringRenderer
| This class may be used to format string data in a cell. More...
class | wxGridCellBoolRenderer
| This class may be used to format boolean data in a cell. More...
class | wxGridCellDateRenderer
| This class may be used to show a date, without time, in a cell. More...
class | wxGridCellDateTimeRenderer
| This class may be used to format a date/time data in a cell. More...
class | wxGridCellEnumRenderer
| This class may be used to render in a cell a number as a textual equivalent. More...
class | wxGridCellFloatRenderer
| This class may be used to format floating point data in a cell. More...
class | wxGridCellNumberRenderer
| This class may be used to format integer data in a cell. More...
class | wxGridCellStringRenderer
| This class may be used to format string data in a cell; it is the default for string cells. More...
class | wxGridActivationSource
| Represents a source of cell activation, which may be either a user event (mouse or keyboard) or the program itself. More...
class | wxGridActivationResult
| Represents the result of wxGridCellEditor::TryActivate(). More...
class | wxGridCellEditor
| This class is responsible for providing and manipulating the in-place edit controls for the grid. More...
class | wxGridCellActivatableEditor
| Base class for activatable editors. More...
class | wxGridCellAutoWrapStringEditor
| Grid cell editor for wrappable string/text data. More...
class | wxGridCellBoolEditor
| Grid cell editor for boolean data. More...
class | wxGridCellChoiceEditor
| Grid cell editor for string data providing the user a choice from a list of strings. More...
class | wxGridCellEnumEditor
| Grid cell editor which displays an enum number as a textual equivalent (e.g. More...
class | wxGridCellTextEditor
| Grid cell editor for string/text data. More...
class | wxGridCellFloatEditor
| The editor for floating point numbers data. More...
class | wxGridCellNumberEditor
| Grid cell editor for numeric integer data. More...
class | wxGridCellDateEditor
| Grid cell editor for dates. More...
class | wxGridFitMode
| Allows to specify the behaviour when the cell contents doesn't fit into its allotted space. More...
class | wxGridCellAttr
| This class can be used to alter the cells' appearance in the grid by changing their attributes from the defaults. More...
class | wxGridHeaderLabelsRenderer
| Base class for header cells renderers. More...
class | wxGridRowHeaderRenderer
| Base class for row headers renderer. More...
class | wxGridColumnHeaderRenderer
| Base class for column headers renderer. More...
class | wxGridCornerHeaderRenderer
| Base class for corner header renderer. More...
class | wxGridRowHeaderRendererDefault
| Default row header renderer. More...
class | wxGridColumnHeaderRendererDefault
| Default column header renderer. More...
class | wxGridCornerHeaderRendererDefault
| Default corner window renderer. More...
class | wxGridCellAttrProvider
| Class providing attributes to be used for the grid cells. More...
class | wxGridTableMessage
| Message class used by the grid table to send requests and notifications to the grid view. More...
class | wxGridStringTable
| Simplest type of data table for a grid for small tables of strings that are stored in memory. More...
class | wxGridCellCoords
| Represents coordinates of a grid cell. More...
class | wxGridBlockCoords
| Represents coordinates of a block of cells in the grid. More...
class | wxGridBlockDiffResult
| The helper struct uses as a result type for difference functions of `wxGridBlockCoords` class. More...
class | wxGridBlocks
| Represents a collection of grid blocks that can be iterated over. More...
class | wxGridBlocks::iterator
| Read-only forward iterator type. More...
class | wxGridTableBase
| The almost abstract base class for grid tables. More...
class | wxGridSizesInfo
| wxGridSizesInfo stores information about sizes of all wxGrid rows or columns. More...
class | wxGrid
| wxGrid and its related classes are used for displaying and editing tabular data. More...
class | wxGridUpdateLocker
| This small class can be used to prevent wxGrid from redrawing during its lifetime by calling wxGrid::BeginBatch() in its constructor and wxGrid::EndBatch() in its destructor. More...
class | wxGridEvent
| This event class contains information about various grid events. More...
class | wxGridSizeEvent
| This event class contains information about a row/column resize event. More...
class | wxGridRangeSelectEvent
| Events of this class notify about a range of cells being selected. More...
class | wxGridEditorCreatedEvent

## Macros
#define | wxGRID_AUTOSIZE (-1)
| Magic constant which tells (to some functions) to automatically calculate the appropriate size. More...

## Typedefs
typedef wxObjectDataPtr< wxGridCellRenderer > | wxGridCellRendererPtr
| Smart pointer wrapping wxGridCellRenderer. More...
typedef wxObjectDataPtr< wxGridCellEditor > | wxGridCellEditorPtr
| Smart pointer wrapping wxGridCellEditor. More...
typedef wxObjectDataPtr< wxGridCellAttr > | wxGridCellAttrPtr
| Smart pointer wrapping wxGridCellAttr. More...

## Enumerations
enum | wxGridCellFloatFormat { wxGRID_FLOAT_FORMAT_FIXED = 0x0010 , wxGRID_FLOAT_FORMAT_SCIENTIFIC = 0x0020 , wxGRID_FLOAT_FORMAT_COMPACT = 0x0040 , wxGRID_FLOAT_FORMAT_UPPER = 0x0080 , wxGRID_FLOAT_FORMAT_DEFAULT = wxGRID_FLOAT_FORMAT_FIXED }
| Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wxGridCellFloatEditor. More...
enum | wxGridTableRequest { wxGRIDTABLE_NOTIFY_ROWS_INSERTED , wxGRIDTABLE_NOTIFY_ROWS_APPENDED , wxGRIDTABLE_NOTIFY_ROWS_DELETED , wxGRIDTABLE_NOTIFY_COLS_INSERTED , wxGRIDTABLE_NOTIFY_COLS_APPENDED , wxGRIDTABLE_NOTIFY_COLS_DELETED }
| Possible types for grid table notifications. More...
enum | wxGridRenderStyle { wxGRID_DRAW_ROWS_HEADER = 0x001 , wxGRID_DRAW_COLS_HEADER = 0x002 , wxGRID_DRAW_CELL_LINES = 0x004 , wxGRID_DRAW_BOX_RECT = 0x008 , wxGRID_DRAW_SELECTION = 0x010 , wxGRID_DRAW_DEFAULT }
| Rendering styles supported by wxGrid::Render() method. More...

## Variables
wxEventType | wxEVT_GRID_CELL_LEFT_CLICK
wxEventType | wxEVT_GRID_CELL_RIGHT_CLICK
wxEventType | wxEVT_GRID_CELL_LEFT_DCLICK
wxEventType | wxEVT_GRID_CELL_RIGHT_DCLICK
wxEventType | wxEVT_GRID_LABEL_LEFT_CLICK
wxEventType | wxEVT_GRID_LABEL_RIGHT_CLICK
wxEventType | wxEVT_GRID_LABEL_LEFT_DCLICK
wxEventType | wxEVT_GRID_LABEL_RIGHT_DCLICK
wxEventType | wxEVT_GRID_ROW_SIZE
wxEventType | wxEVT_GRID_ROW_AUTO_SIZE
wxEventType | wxEVT_GRID_COL_SIZE
wxEventType | wxEVT_GRID_COL_AUTO_SIZE
wxEventType | wxEVT_GRID_RANGE_SELECTING
wxEventType | wxEVT_GRID_RANGE_SELECTED
wxEventType | wxEVT_GRID_CELL_CHANGING
wxEventType | wxEVT_GRID_CELL_CHANGED
wxEventType | wxEVT_GRID_SELECT_CELL
wxEventType | wxEVT_GRID_EDITOR_SHOWN
wxEventType | wxEVT_GRID_EDITOR_HIDDEN
wxEventType | wxEVT_GRID_EDITOR_CREATED
wxEventType | wxEVT_GRID_CELL_BEGIN_DRAG
wxEventType | wxEVT_GRID_ROW_MOVE
wxEventType | wxEVT_GRID_COL_MOVE
wxEventType | wxEVT_GRID_COL_SORT
wxEventType | wxEVT_GRID_TABBING

## Macro Definition Documentation

## ◆ wxGRID_AUTOSIZE

#define wxGRID_AUTOSIZE (-1)

Magic constant which tells (to some functions) to automatically calculate the appropriate size.

## Enumeration Type Documentation

## ◆ wxGridCellFloatFormat

enum wxGridCellFloatFormat

Specifier used to format the data to string for the numbers handled by wxGridCellFloatRenderer and wxGridCellFloatEditor.

Since
  2.9.3

Enumerator
wxGRID_FLOAT_FORMAT_FIXED | Decimal floating point (f).
wxGRID_FLOAT_FORMAT_SCIENTIFIC | Scientific notation (mantissa/exponent) using e character (e).
wxGRID_FLOAT_FORMAT_COMPACT | Use the shorter of e or f (g).
wxGRID_FLOAT_FORMAT_UPPER | To use in combination with one of the above formats for the upper case version (F/E/G)
wxGRID_FLOAT_FORMAT_DEFAULT | The format used by default (wxGRID_FLOAT_FORMAT_FIXED).

## ◆ wxGridRenderStyle

enum wxGridRenderStyle

Rendering styles supported by wxGrid::Render() method.

Since
  2.9.4

Enumerator
wxGRID_DRAW_ROWS_HEADER | Draw grid row header labels.
wxGRID_DRAW_COLS_HEADER | Draw grid column header labels.
wxGRID_DRAW_CELL_LINES | Draw grid cell border lines.
wxGRID_DRAW_BOX_RECT | Draw a bounding rectangle around the rendered cell area. Useful where row or column headers are not drawn or where there is multi row or column cell clipping and therefore no cell border at the rendered outer boundary.
wxGRID_DRAW_SELECTION | Draw the grid cell selection highlight if a selection is present. At present the highlight colour drawn depends on whether the grid window loses focus before drawing begins.
wxGRID_DRAW_DEFAULT | The default render style. Includes all except wxGRID_DRAW_SELECTION.

## ◆ wxGridTableRequest

enum wxGridTableRequest

Possible types for grid table notifications.

Enumerator
wxGRIDTABLE_NOTIFY_ROWS_INSERTED | New rows have been inserted into the table.
wxGRIDTABLE_NOTIFY_ROWS_APPENDED | New rows have been append to the table.
wxGRIDTABLE_NOTIFY_ROWS_DELETED | Rows have been deleted from the table.
wxGRIDTABLE_NOTIFY_COLS_INSERTED | New columns have been inserted into the table.
wxGRIDTABLE_NOTIFY_COLS_APPENDED | New columns have been append to the table.
wxGRIDTABLE_NOTIFY_COLS_DELETED | Columns have been deleted from the table.

## Variable Documentation

## ◆ wxEVT_GRID_CELL_BEGIN_DRAG

wxEventType wxEVT_GRID_CELL_BEGIN_DRAG

## ◆ wxEVT_GRID_CELL_CHANGED

wxEventType wxEVT_GRID_CELL_CHANGED

## ◆ wxEVT_GRID_CELL_CHANGING

wxEventType wxEVT_GRID_CELL_CHANGING

## ◆ wxEVT_GRID_CELL_LEFT_CLICK

wxEventType wxEVT_GRID_CELL_LEFT_CLICK

## ◆ wxEVT_GRID_CELL_LEFT_DCLICK

wxEventType wxEVT_GRID_CELL_LEFT_DCLICK

## ◆ wxEVT_GRID_CELL_RIGHT_CLICK

wxEventType wxEVT_GRID_CELL_RIGHT_CLICK

## ◆ wxEVT_GRID_CELL_RIGHT_DCLICK

wxEventType wxEVT_GRID_CELL_RIGHT_DCLICK

## ◆ wxEVT_GRID_COL_AUTO_SIZE

wxEventType wxEVT_GRID_COL_AUTO_SIZE

## ◆ wxEVT_GRID_COL_MOVE

wxEventType wxEVT_GRID_COL_MOVE

## ◆ wxEVT_GRID_COL_SIZE

wxEventType wxEVT_GRID_COL_SIZE

## ◆ wxEVT_GRID_COL_SORT

wxEventType wxEVT_GRID_COL_SORT

## ◆ wxEVT_GRID_EDITOR_CREATED

wxEventType wxEVT_GRID_EDITOR_CREATED

## ◆ wxEVT_GRID_EDITOR_HIDDEN

wxEventType wxEVT_GRID_EDITOR_HIDDEN

## ◆ wxEVT_GRID_EDITOR_SHOWN

wxEventType wxEVT_GRID_EDITOR_SHOWN

## ◆ wxEVT_GRID_LABEL_LEFT_CLICK

wxEventType wxEVT_GRID_LABEL_LEFT_CLICK

## ◆ wxEVT_GRID_LABEL_LEFT_DCLICK

wxEventType wxEVT_GRID_LABEL_LEFT_DCLICK

## ◆ wxEVT_GRID_LABEL_RIGHT_CLICK

wxEventType wxEVT_GRID_LABEL_RIGHT_CLICK

## ◆ wxEVT_GRID_LABEL_RIGHT_DCLICK

wxEventType wxEVT_GRID_LABEL_RIGHT_DCLICK

## ◆ wxEVT_GRID_RANGE_SELECTED

wxEventType wxEVT_GRID_RANGE_SELECTED

## ◆ wxEVT_GRID_RANGE_SELECTING

wxEventType wxEVT_GRID_RANGE_SELECTING

## ◆ wxEVT_GRID_ROW_AUTO_SIZE

wxEventType wxEVT_GRID_ROW_AUTO_SIZE

## ◆ wxEVT_GRID_ROW_MOVE

wxEventType wxEVT_GRID_ROW_MOVE

## ◆ wxEVT_GRID_ROW_SIZE

wxEventType wxEVT_GRID_ROW_SIZE

## ◆ wxEVT_GRID_SELECT_CELL

wxEventType wxEVT_GRID_SELECT_CELL

## ◆ wxEVT_GRID_TABBING

wxEventType wxEVT_GRID_TABBING