Inherits from
- Grid: wx.grid.Grid
Method summary
- __init__(self, parent, ID = -Const(1), **kw)
- GetTable(self)
- init_data_types(self)
- init_handlers(self)
- init_labels(self)
- OnCellChange(self, evt)
- OnCellLeftClick(self, evt)
- OnCellLeftDClick(self, evt)
- OnCellRightClick(self, evt)
- OnCellRightDClick(self, evt)
- OnColSize(self, evt)
- OnEditorCreated(self, evt)
- OnEditorHidden(self, evt)
- OnEditorShown(self, evt)
- OnIdle(self, evt)
- OnLabelLeftClick(self, evt)
- OnLabelLeftDClick(self, evt)
- OnLabelRightClick(self, evt)
- OnLabelRightDClick(self, evt)
- OnRangeSelect(self, evt)
- OnRowSize(self, evt)
- OnSelectCell(self, evt)
- Reset(self)
- SetColLabelsVisible(self, show = True)
- SetRowLabelsVisible(self, show = True)
- SetTable(self, table, *args)
Methods
- __init__(self, parent, ID = -Const(1), **kw)
- GetTable(self)
- init_data_types(self)
If the model says a cell is of a specified type, the grid uses the specific renderer and editor set in this method.
- init_handlers(self)
- init_labels(self)
- OnCellChange(self, evt)
- OnCellLeftClick(self, evt)
- OnCellLeftDClick(self, evt)
- OnCellRightClick(self, evt)
- OnCellRightDClick(self, evt)
- OnColSize(self, evt)
- OnEditorCreated(self, evt)
- OnEditorHidden(self, evt)
- OnEditorShown(self, evt)
- OnIdle(self, evt)
Immediately jumps into editing mode, bypassing the usual select mode of a spreadsheet. See also self.OnSelectCell().
- OnLabelLeftClick(self, evt)
- OnLabelLeftDClick(self, evt)
- OnLabelRightClick(self, evt)
- OnLabelRightDClick(self, evt)
- OnRangeSelect(self, evt)
- OnRowSize(self, evt)
- OnSelectCell(self, evt)
Immediately jumps into editing mode, bypassing the usual select mode of a spreadsheet. See also self.OnIdle().
- Reset(self)
Resets the view based on the data in the table.
Call this when rows are added or destroyed.
- SetColLabelsVisible(self, show = True)
This only works if you 'hide' then 'show' the labels.
- SetRowLabelsVisible(self, show = True)
This only works if you 'hide' then 'show' the labels.
- SetTable(self, table, *args)
Some versions of wxPython do not return the correct table - hence we store our own copy here - weak ref? todo - does this apply to Enthought?