Class: Wx::GRID::GridCellDateEditor

Inherits:
GridCellEditor show all
Defined in:
lib/wx/doc/gen/grid/grid_cell_date_editor.rb

Overview

Grid cell editor for dates.

Uses DatePickerCtrl as actual edit control.

Category: Grid Related Classes

Instance Method Summary collapse

Methods inherited from GridCellEditor

#apply_edit, #begin_edit, #clone, #create, #destroy, #do_activate, #end_edit, #get_control, #get_value, #get_window, #handle_return, #is_accepted_key, #is_created, #paint_background, #reset, #set_control, #set_size, #set_window, #show, #starting_click, #starting_key, #try_activate

Constructor Details

#initialize(format = ('')) ⇒ Wx::GRID::GridCellDateEditor

Date editor constructor.

Parameters:

  • format (String) (defaults to: (''))

    Optional format for the date displayed in the associated cell. By default, the locale-specific date format (“%x”) is assumed. You would typically want to specify the same format as the one used with the cell renderer, if a non-default one is used. Note that this parameter is only available since wxWidgets 3.1.5.



31
# File 'lib/wx/doc/gen/grid/grid_cell_date_editor.rb', line 31

def initialize(format=('')) end