Inherits from
- TableModel: enthought.pyface.table_model.TableModel
Method summary
- __init__(self, query = None)
- get_column_name(self, index)
- get_component_at(self, row)
- get_index_of(self, component)
- get_value_at(self, row, column)
- query_changed(self, old, new)
Methods
- __init__(self, query = None)
Create a new table model.
- get_column_name(self, index)
Return the name of the column at the specified index.
- get_component_at(self, row)
Return the component at the specified row.
- get_index_of(self, component)
Return the index of the specified component.
Returns -1 if the component is not in the model.
- get_value_at(self, row, column)
Return the value for the cell at (row, column).
- query_changed(self, old, new)
Called when the query is changed.