def __init__(self, data, column_names):
        ##print 'Initializing virtual model'
        PyGridTableBase.__init__(self)
        self.set_data_source(data)
        self.colnames = column_names
        #self.renderers = {"DEFAULT_RENDERER":DefaultRenderer()}
        #self.editors = {}

        # we need to store the row length and col length to see if the table has changed size
        self._rows = self.GetNumberRows()
        self._cols = self.GetNumberCols()

#-------------------------------------------------------------------------------
# Implement/override the methods from PyGridTableBase
#-------------------------------------------------------------------------------
Query the data store and retrieve a flattened, filtered list of
dataset/ETHPy150Open enthought/pyface/pyface/wx/spreadsheet/virtual_model.py/VirtualModel.__init__--crossover with--dataset/ETHPy150Open openelections/openelections-core/openelex/base/bake.py/BaseBaker.collect_items